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 +}