X-Git-Url: http://these/git/?a=blobdiff_plain;f=tsconfig.json;h=aa3115fa48675b1960f54a09f80cd390ec5c62fe;hb=ba9389c15edfd501affcddfeec2209c74ce9fe96;hp=aae5ae70e7e717e6e74d8c46c964dbbf91dd120f;hpb=99c7966200371da7e4f3615412cf18103dee44b7;p=lemmy-ui.git diff --git a/tsconfig.json b/tsconfig.json index aae5ae7..aa3115f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,27 +1,32 @@ -{ - "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, - "noFallthroughCasesInSwitch": true - }, - "include": [ - "src/**/*", - "node_modules/inferno/dist/index.d.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" + ] +}