diff --git a/examples/zkapps/04-zkapp-browser-ui/ui/tsconfig.json b/examples/zkapps/04-zkapp-browser-ui/ui/tsconfig.json index 3a716a3ce..e55728e28 100644 --- a/examples/zkapps/04-zkapp-browser-ui/ui/tsconfig.json +++ b/examples/zkapps/04-zkapp-browser-ui/ui/tsconfig.json @@ -1,26 +1,30 @@ - - { - "compilerOptions": { - "target": "ES2019", - "module": "es2022", - "lib": ["dom", "dom.iterable", "esnext"], - "allowJs": true, - "skipLibCheck": true, - "strict": true, - "strictPropertyInitialization": false, - "forceConsistentCasingInFileNames": true, - "noEmit": true, - "esModuleInterop": true, - "module": "esnext", - "moduleResolution": "node", - "experimentalDecorators": true, - "emitDecoratorMetadata": true, - "resolveJsonModule": true, - "isolatedModules": true, - "jsx": "preserve", - "incremental": true - }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] +{ + "compilerOptions": { + "target": "es2020", + "module": "esnext", + "lib": ["dom", "dom.iterable", "esnext"], + "strict": true, + "strictPropertyInitialization": false, // to enable generic constructors, e.g. on CircuitValue + "skipLibCheck": true, + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, + "moduleResolution": "node", + "experimentalDecorators": true, + "emitDecoratorMetadata": true, + "allowJs": true, + "declaration": true, + "sourceMap": true, + "noFallthroughCasesInSwitch": true, + "allowSyntheticDefaultImports": true, + "isolatedModules": true, + "noEmit": true, + "incremental": true, + "resolveJsonModule": true, + "jsx": "preserve", + "paths": { + "@/*": ["./src/*"] } - \ No newline at end of file + }, + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], + "exclude": ["node_modules"] +}