X-Git-Url: http://these/git/?a=blobdiff_plain;f=tsconfig.json;h=aa3115fa48675b1960f54a09f80cd390ec5c62fe;hb=61e0241d8930badc4a77cd973c3cbb64bd13c49e;hp=178af851becfb3af1548ba1294921fbde6e8e73d;hpb=bf8a79e46741cbe0f74651ebcf3d6970ca49035e;p=lemmy-ui.git diff --git a/tsconfig.json b/tsconfig.json index 178af85..aa3115f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,12 +1,32 @@ -{ - "compilerOptions": { - "module": "commonjs", - "target": "esnext", - "sourceMap": true, - "jsx": "preserve", - "importHelpers": true, - "emitDecoratorMetadata": true, - "experimentalDecorators": 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" + ] +}