diff --git a/ui/common/package.json b/ui/common/package.json index 9734c2628d..429b864838 100644 --- a/ui/common/package.json +++ b/ui/common/package.json @@ -22,7 +22,6 @@ "snabbdom": "^3.0.1" }, "devDependencies": { - "@types/cash": "8.0.0", "@types/dom-screen-wake-lock": "1.0.0", "@types/lichess": "2.0.0", "typescript": "^4.3.5" diff --git a/ui/common/src/wakeLock.ts b/ui/common/src/wakeLock.ts index 31d743ca1e..96e237099b 100644 --- a/ui/common/src/wakeLock.ts +++ b/ui/common/src/wakeLock.ts @@ -1,5 +1,3 @@ -import '@types/dom-screen-wake-lock'; - let wakeLock: WakeLockSentinel | null = null; export const request = () => { diff --git a/ui/common/tsconfig.json b/ui/common/tsconfig.json index c667f3ae6f..0bdb543e0a 100644 --- a/ui/common/tsconfig.json +++ b/ui/common/tsconfig.json @@ -3,6 +3,7 @@ "include": ["src"], "exclude": [], "compilerOptions": { - "outDir": "." + "outDir": ".", + "types": ["lichess", "cash", "dom-screen-wake-lock"] } } diff --git a/ui/puz/package.json b/ui/puz/package.json index 2451bb40ed..087c3eaa48 100644 --- a/ui/puz/package.json +++ b/ui/puz/package.json @@ -20,7 +20,6 @@ "common": "2.0.0" }, "devDependencies": { - "@types/cash": "8.0.0", "@types/lichess": "2.0.0", "typescript": "^4.3.5" }