diff --git a/packages/react/tsconfig.json b/packages/react/tsconfig.json index 29fade6..82f4b1e 100644 --- a/packages/react/tsconfig.json +++ b/packages/react/tsconfig.json @@ -1,9 +1,9 @@ { "extends": "../../tsconfig.json", "compilerOptions": { + "jsx": "react-jsx", /* Limit global types to those in the current package */ - "typeRoots": ["./node_modules/@types"], - "jsx": "react-jsx" + "typeRoots": ["./node_modules/@types"] }, "include": ["src", "playground"], "exclude": ["**/dist"] diff --git a/packages/solid/tsconfig.json b/packages/solid/tsconfig.json index 8c26006..c29ae5a 100644 --- a/packages/solid/tsconfig.json +++ b/packages/solid/tsconfig.json @@ -1,10 +1,10 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - /* Limit global types to those in the current package */ - "typeRoots": ["./node_modules/@types"], "jsx": "preserve", - "jsxImportSource": "solid-js" + "jsxImportSource": "solid-js", + /* Limit global types to those in the current package */ + "typeRoots": ["./node_modules/@types"] }, "include": ["src", "playground"], "exclude": ["**/dist"] diff --git a/packages/svelte/tsconfig.json b/packages/svelte/tsconfig.json index 3b58fd5..529caca 100644 --- a/packages/svelte/tsconfig.json +++ b/packages/svelte/tsconfig.json @@ -1,15 +1,15 @@ { "extends": "./.svelte-kit/tsconfig.json", "compilerOptions": { + "module": "NodeNext", + "moduleResolution": "NodeNext", + "resolveJsonModule": true, "allowJs": true, "checkJs": true, + "strict": true, + "sourceMap": true, "esModuleInterop": true, "forceConsistentCasingInFileNames": true, - "resolveJsonModule": true, - "skipLibCheck": true, - "sourceMap": true, - "strict": true, - "module": "NodeNext", - "moduleResolution": "NodeNext" + "skipLibCheck": true } } diff --git a/packages/vue/tsconfig.json b/packages/vue/tsconfig.json index 0e4f067..8c2fa5e 100644 --- a/packages/vue/tsconfig.json +++ b/packages/vue/tsconfig.json @@ -1,9 +1,9 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "types": ["node"], /* Limit global types to those in the current package */ - "typeRoots": ["./node_modules/@types"] + "typeRoots": ["./node_modules/@types"], + "types": ["node"] }, "include": ["src"], "exclude": ["**/dist"]