diff --git a/apps/playground-web/tsconfig.json b/apps/playground-web/tsconfig.json index 28a5c9e..3874995 100644 --- a/apps/playground-web/tsconfig.json +++ b/apps/playground-web/tsconfig.json @@ -7,7 +7,9 @@ } ], "paths": { - "@/*": ["./*"] + "@/*": [ + "./*" + ] } }, "include": [ @@ -17,5 +19,7 @@ "**/*.tsx", ".next/types/**/*.ts" ], - "exclude": ["node_modules"] -} + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/packages/ui/tsconfig.json b/packages/ui/tsconfig.json index b1a94fc..b40b600 100644 --- a/packages/ui/tsconfig.json +++ b/packages/ui/tsconfig.json @@ -2,8 +2,15 @@ "extends": "@dicedb/typescript-config/react-library.json", "compilerOptions": { "outDir": "dist", - "types": ["jest"] + "types": [ + "jest" + ] }, - "include": ["src"], - "exclude": ["node_modules", "dist"] -} + "include": [ + "src" + ], + "exclude": [ + "node_modules", + "dist" + ] +} \ No newline at end of file diff --git a/tooling/typescript-config/nextjs.json b/tooling/typescript-config/nextjs.json index 6b622ad..e7f2a3a 100644 --- a/tooling/typescript-config/nextjs.json +++ b/tooling/typescript-config/nextjs.json @@ -3,12 +3,20 @@ "display": "Next.js", "extends": "./base.json", "compilerOptions": { - "lib": ["esnext", "DOM", "DOM.Iterable"], - "plugins": [{ "name": "next" }], + "lib": [ + "esnext", + "DOM", + "DOM.Iterable" + ], + "plugins": [ + { + "name": "next" + } + ], "module": "ESNext", "moduleResolution": "Bundler", "allowJs": true, - "jsx": "preserve", + "jsx": "react", "noEmit": true } -} +} \ No newline at end of file