Fix web lint errors and enable web linting in CI (#72)

This commit is contained in:
Keavon Chambers
2021-04-14 00:41:20 -07:00
committed by GitHub
parent 1fd298cf9e
commit e3be55d4e2
4 changed files with 19 additions and 6 deletions

View File

@@ -24,8 +24,7 @@ export function handleResponse(responseType: ResponseType, responseData: string)
if (callback) {
callback(responseData);
}
else {
} else {
console.error(`Received a Response of type "${responseType}" but no handler was registered for it from the client.`);
}
}

View File

@@ -1,11 +1,12 @@
declare module "*.vue" {
import type { DefineComponent } from "vue"
const component: DefineComponent<{}, {}, any>;
import type { DefineComponent, DefineComponent } from "vue";
const component: DefineComponent;
export default component;
}
declare module "*.svg" {
import type { DefineComponent } from "vue";
const component: DefineComponent;
export default component;
}