Add type to WebAPI error message

This commit is contained in:
Evan Hahn 2021-05-19 22:46:50 -05:00 committed by Scott Nonnenberg
parent bc146a54af
commit d07996e910

View file

@ -1102,7 +1102,7 @@ export function initialize({
// Happens sometimes when we get no response. Might be nice to get 204 instead.
return null;
}
let message;
let message: string;
switch (code) {
case -1:
message =