From 29202c93d42b933f081a19e3b473cfd2285727e0 Mon Sep 17 00:00:00 2001 From: Lucemans Date: Thu, 2 Feb 2023 18:17:38 +0000 Subject: [PATCH] Update web support --- src/utils/is_fully.ts | 1 + tsconfig.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/utils/is_fully.ts b/src/utils/is_fully.ts index e335863..ec87f28 100644 --- a/src/utils/is_fully.ts +++ b/src/utils/is_fully.ts @@ -1 +1,2 @@ +// eslint-disable-next-line no-undef export const is_fully = () => !!window['fully']; diff --git a/tsconfig.json b/tsconfig.json index f978d72..72b9a12 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,7 @@ "moduleResolution": "node", "target": "ES5", "module": "commonjs", - "lib": ["es2015", "es2016", "es2017", "es2020"], + "lib": ["es2015", "es2016", "es2017", "es2020", "DOM"], "strict": true, "declaration": true, "allowSyntheticDefaultImports": true, @@ -14,4 +14,4 @@ }, "include": ["src"], "exclude": ["node_modules", "tests", "lib"] -} \ No newline at end of file +}