X-Git-Url: http://these/git/?a=blobdiff_plain;f=tsconfig.json;h=aa3115fa48675b1960f54a09f80cd390ec5c62fe;hb=61e0241d8930badc4a77cd973c3cbb64bd13c49e;hp=c3dc6cf5b669a8c73272bcbbf8fd54732a941af5;hpb=24548ccba8cbfe95c883e763f3e3644d3f02139c;p=lemmy-ui.git diff --git a/tsconfig.json b/tsconfig.json index c3dc6cf..aa3115f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,29 +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, - "experimentalDecorators": true, - "strictNullChecks": false, - "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" + ] +}