From 703aec772b811cfd763d55e890f7eb98b1c7c2ec Mon Sep 17 00:00:00 2001 From: Ross Phillips <12723297+rphillips-cc@users.noreply.github.com> Date: Fri, 15 Aug 2025 16:18:57 +1200 Subject: [PATCH] fix: linting --- src/index.d.ts | 4 ++-- tsconfig.json | 14 +++++--------- 2 files changed, 7 insertions(+), 11 deletions(-) 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"] }