mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-16 23:08:05 +08:00
Fix web lint errors and enable web linting in CI (#72)
This commit is contained in:
@@ -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.`);
|
||||
}
|
||||
}
|
||||
|
||||
7
client/web/src/types.d.ts
vendored
7
client/web/src/types.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user