Advertisement
flcs

tsconfig.json adaptado Fernando

Aug 4th, 2022
1,410
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 4.00 KB | None | 0 0
  1. {
  2.   "compilerOptions": {
  3.     "target": "ES2019",
  4.     "lib": ["ES2020"],                                        /* Specify a set of bundled library declaration files that describe the target runtime environment. */
  5.     // "experimentalDecorators": true,                   /* Enable experimental support for TC39 stage 2 draft decorators. */
  6.     // "emitDecoratorMetadata": true,                    /* Emit design-type metadata for decorated declarations in source files. */
  7.     "module": "commonjs",
  8.     "rootDir": "src",                                  /* Specify the root folder within your source files. */
  9.     "outDir": "dist",
  10.     // "moduleResolution": "node",                       /* Specify how TypeScript looks up a file from a given module specifier. */
  11.     "baseUrl": "src",
  12.     "paths": {
  13.       "@/*": [ "*" ],
  14.       "@/app": [ "src/app/*" ],
  15.       "@/api": [ "src/api/*" ],
  16.       "@/config": [ "src/config/*" ],
  17.       "@/drivers": [ "src/drivers/*" ],
  18.       "@/interfaces": [ "src/interfaces/*" ],
  19.       "@/entities": [ "src/entities/*" ],
  20.       "@/use-cases": [ "src/use-cases/*" ],
  21.     },
  22.     "resolveJsonModule": true,
  23.  
  24.     // "rootDirs": [],                                   /* Allow multiple folders to be treated as one when resolving modules. */
  25.     // "typeRoots": [],                                  /* Specify multiple folders that act like './node_modules/@types'. */
  26.     "sourceMap": true,                                /* Create source map files for emitted JavaScript files. */
  27.     "allowJs": false,
  28.     "typeRoots": [ "src/@types", "node_modules/@types" ],
  29.     "types": [ "reflect-metadata", "jest" ],
  30.     "moduleResolution": "node",
  31.     "experimentalDecorators": true,
  32.     "emitDecoratorMetadata": true,
  33.  
  34.     // // "outFile": "./",                                  /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
  35.     // // "outDir": "./",                                   /* Specify an output folder for all emitted files. */
  36.     // // "isolatedModules": true,                          /* Ensure that each file can be safely transpiled without relying on other imports. */
  37.     // "esModuleInterop": true,                             /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
  38.     // "forceConsistentCasingInFileNames": true,
  39.     // "strict": true,                                      /* Enable all strict type-checking options. */
  40.     // "noImplicitAny": true,                            /* Enable error reporting for expressions and declarations with an implied 'any' type. */
  41.     // // "strictNullChecks": true,                         /* When type checking, take into account 'null' and 'undefined'. */
  42.     // // "strictFunctionTypes": true,                      /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
  43.     // // "strictBindCallApply": true,                      /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */
  44.     // // "strictPropertyInitialization": true,             /* Check for class properties that are declared but not set in the constructor. */
  45.     // "noImplicitThis": true,                           /* Enable error reporting when 'this' is given the type 'any'. */
  46.     // "alwaysStrict": true,                             /* Ensure 'use strict' is always emitted. */
  47.     // "noImplicitReturns": true,                        /* Enable error reporting for codepaths that do not explicitly return in a function. */
  48.     // "noImplicitOverride": true,                       /* Ensure overriding members in derived classes are marked with an override modifier. */
  49.     // // "skipDefaultLibCheck": true,                      /* Skip type checking .d.ts files that are included with TypeScript. */
  50.     // "skipLibCheck": true
  51.   },
  52.   "include": [
  53.     "src/**/*"
  54.   ]
  55. }
  56.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement