diff --git a/src/ui/controllers/FileItemController.ts b/src/ui/controllers/FileItemController.ts index 80245e8..c162e86 100644 --- a/src/ui/controllers/FileItemController.ts +++ b/src/ui/controllers/FileItemController.ts @@ -59,7 +59,7 @@ export default class FileItemController { * @param shown Whether to show or hide the menu */ private toggleMoreMenu (shown: boolean): void { - const ul = this.element.querySelector('.grad-paa-file-item__more > ul'); + const ul = this.element.querySelector('.grad-paa-file-item__more > ul'); if (ul === null) throw new Error('Couldn\'t find list element'); if (shown) { @@ -214,7 +214,7 @@ export default class FileItemController { * @param callback Callback, which is executed on click */ private setMainAction (el: HTMLElement, tooltip?: string, callback?: () => void): void { - const container = this.element.querySelector('.grad-paa-file-item__main-action'); + const container = this.element.querySelector('.grad-paa-file-item__main-action'); if (!container) return; // clear container diff --git a/tsconfig.json b/tsconfig.json index b6fbe0b..dad21c5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,6 +5,7 @@ "resolveJsonModule": true, "moduleResolution": "node", "strictNullChecks": true, + "skipLibCheck": true, "paths": { "@/*": [ "./src/*"