diff --git a/src/global.d.ts b/src/global.d.ts index 4859a0869e..a5efc4931e 100644 --- a/src/global.d.ts +++ b/src/global.d.ts @@ -1,2 +1,3 @@ declare function escape(s: string): string; declare function unescape(s: string): string; +declare module 'forcefocus'; diff --git a/tsconfig.json b/tsconfig.json index 738e28a026..0296144117 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -21,9 +21,7 @@ "angularCompilerOptions": { "preserveWhitespaces": true }, - "files": [ - "src/entry.ts", - "src/global.d.ts", - "jslib/src/globals.d.ts" + "include": [ + "src" ] } diff --git a/tsconfig.renderer.json b/tsconfig.renderer.json index e750045656..c7c08f70e7 100644 --- a/tsconfig.renderer.json +++ b/tsconfig.renderer.json @@ -1,8 +1,10 @@ { "extends": "./tsconfig.json", - "files": [ - "src/app/main.ts", - "src/global.d.ts", - "jslib/src/globals.d.ts" + "exclude": [ + "src/entry.ts", + "src/main.ts", + "src/main", + "src/proxy", + "jslib/**/*.main.ts" ] }