-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Typecheck service worker separately to avoid DOM and Webworker lib ty…
…pe clashs Typecheck service worker separately with ts WebWorker lib, and the rest of the Keyguard with ts DOM lib. Previously, both libs were active in all files (even though webworker was referenced only in the ServiceWorker via a triple slash directive, this enables it globally), which by itself is inappropriate, but also causes type clashs between the DOM and the WebWorker types, which previously were silenced by skipping lib checks. Now, with this change, and typescript having been updated to a recent version, checking libs has been enabled again.
- Loading branch information
Showing
5 changed files
with
12 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"lib": ["WebWorker"] | ||
}, | ||
"include": ["*.js"], | ||
"exclude": [] // Overwrite exclusion of service worker | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters