diff --git a/src/index.d.ts b/src/index.d.ts index ba6ce21..17fe558 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -1,9 +1,9 @@ import type { - SnippetConfig, + Cascade, FileInput, RichTextInput, + SnippetConfig, UrlInput, - Cascade } from '@cloudcannon/configuration-types'; export interface CloseCustomDataPanelOptions { diff --git a/tsconfig.json b/tsconfig.json index 02422ef..3c3f588 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,14 +1,10 @@ { "compilerOptions": { "strict": true, - "allowImportingTsExtensions": true, - "noEmit": true + "esModuleInterop": true, + "noEmit": true, + "lib": ["es2020", "DOM"] }, - "include": [ - "src/**/*.ts" - ], - "exclude": [ - "node_modules", - "dist" - ] + "include": ["src/**/*.ts"], + "exclude": ["node_modules", "dist"] }