X-Git-Url: http://these/git/?a=blobdiff_plain;f=tsconfig.json;h=aa3115fa48675b1960f54a09f80cd390ec5c62fe;hb=f6cbc896afd120ea6b41c230675267ab319591df;hp=04e9bb0a5d0c9e2203acc0c43d2b5a061fa9e77f;hpb=2eee93602687180976ad68de3d5f7a2cc4307cb3;p=lemmy-ui.git diff --git a/tsconfig.json b/tsconfig.json index 04e9bb0..aa3115f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,14 +1,32 @@ -{ - "compilerOptions": { - "module": "commonjs", - "target": "esnext", - "sourceMap": true, - "inlineSources": true, - "jsx": "preserve", - "importHelpers": true, - "emitDecoratorMetadata": true, - "experimentalDecorators": true, - "esModuleInterop": true - }, - "exclude": ["node_modules", "fuse.ts"] -} +{ + "compilerOptions": { + "pretty": true, + "target": "esnext", + "module": "esnext", + "allowSyntheticDefaultImports": true, + "preserveConstEnums": true, + "sourceMap": true, + "moduleResolution": "node", + "lib": ["es2017", "dom"], + "types": ["inferno"], + "jsx": "preserve", + "noUnusedLocals": true, + "baseUrl": "./src", + "noEmit": true, + "skipLibCheck": true, + "noUnusedParameters": true, + "noImplicitReturns": true, + "experimentalDecorators": true, + "strictNullChecks": true, + "noFallthroughCasesInSwitch": true, + "paths": { + "@/*": ["/*"], + "@utils/*": ["shared/utils/*"] + } + }, + "include": [ + "src/**/*.ts", + "src/**/*.tsx", + "node_modules/inferno/dist/index.d.ts" + ] +}