collab/mermaid/tsconfig.jsonblame
View source
6dd74de1{
6dd74de2 "compilerOptions": {
6dd74de3 /* Visit https://aka.ms/tsconfig.json to read more about this file */
6dd74de4
6dd74de5 /* Projects */
6dd74de6 // "incremental": true /* Enable incremental compilation */,
6dd74de7 // "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
6dd74de8 // "tsBuildInfoFile": "./", /* Specify the folder for .tsbuildinfo incremental compilation files. */
6dd74de9 // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects */
6dd74de10 // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
6dd74de11 // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
6dd74de12
6dd74de13 /* Language and Environment */
6dd74de14 "target": "ES2018" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
6dd74de15 "lib": [
6dd74de16 "DOM",
6dd74de17 "ES2022"
6dd74de18 ] /* Specify a set of bundled library declaration files that describe the target runtime environment. */,
6dd74de19 // "jsx": "preserve", /* Specify what JSX code is generated. */
6dd74de20 // "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */
6dd74de21 // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */
6dd74de22 // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h' */
6dd74de23 // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */
6dd74de24 // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using `jsx: react-jsx*`.` */
6dd74de25 // "reactNamespace": "", /* Specify the object invoked for `createElement`. This only applies when targeting `react` JSX emit. */
6dd74de26 // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
6dd74de27 // "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
6dd74de28
6dd74de29 /* Modules */
6dd74de30 "module": "nodenext",
6dd74de31 // "rootDir": "./packages" /* Specify the root folder within your source files. */,
6dd74de32 // "baseUrl": "./src" /* Specify the base directory to resolve non-relative module names. */,
6dd74de33 // "paths": {} /* Specify a set of entries that re-map imports to additional lookup locations. */,
6dd74de34 // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
6dd74de35 // "typeRoots": [] /* Specify multiple folders that act like `./node_modules/@types`. */,
6dd74de36 "types": [
6dd74de37 "vitest/globals"
6dd74de38 ] /* Specify type package names to be included without being referenced in a source file. */,
6dd74de39
6dd74de40 // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
6dd74de41 "resolveJsonModule": true /* Enable importing .json files */,
6dd74de42 // "noResolve": true, /* Disallow `import`s, `require`s or `<reference>`s from expanding the number of files TypeScript should add to a project. */
6dd74de43
6dd74de44 /* JavaScript Support */
6dd74de45 "allowJs": true /* Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files. */,
6dd74de46 // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
6dd74de47 // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from `node_modules`. Only applicable with `allowJs`. */
6dd74de48
6dd74de49 /* Emit */
6dd74de50 "declaration": true /* Generate .d.ts files from TypeScript and JavaScript files in your project. */,
6dd74de51 // "declarationMap": true, /* Create sourcemaps for d.ts files. */
6dd74de52 // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
6dd74de53 // "sourceMap": true, /* Create source map files for emitted JavaScript files. */
6dd74de54 // "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. */
6dd74de55 // "outDir": "./dist" /* Specify an output folder for all emitted files. */,
6dd74de56 // "removeComments": true, /* Disable emitting comments. */
6dd74de57 // "noEmit": true, /* Disable emitting files from a compilation. */
6dd74de58 // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
6dd74de59 // "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types */
6dd74de60 // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */
6dd74de61 // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */
6dd74de62 // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
6dd74de63 // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
6dd74de64 // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */
6dd74de65 // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */
6dd74de66 // "newLine": "crlf", /* Set the newline character for emitting files. */
6dd74de67 // "stripInternal": true, /* Disable emitting declarations that have `@internal` in their JSDoc comments. */
6dd74de68 // "noEmitHelpers": true, /* Disable generating custom helper functions like `__extends` in compiled output. */
6dd74de69 "noEmitOnError": false /* Disable emitting files if any type checking errors are reported. */,
6dd74de70 // "preserveConstEnums": true, /* Disable erasing `const enum` declarations in generated code. */
6dd74de71 // "declarationDir": "./", /* Specify the output directory for generated declaration files. */
6dd74de72 // "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */
6dd74de73
6dd74de74 /* Interop Constraints */
6dd74de75 // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
6dd74de76 // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
6dd74de77 "esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */,
6dd74de78 // "preserveSymlinks": true /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */,
6dd74de79 "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
6dd74de80
6dd74de81 /* Type Checking */
6dd74de82 "strict": true /* Enable all strict type-checking options. */,
6dd74de83 // "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied `any` type.. */
6dd74de84 // "strictNullChecks": true, /* When type checking, take into account `null` and `undefined`. */
6dd74de85 // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
6dd74de86 // "strictBindCallApply": true, /* Check that the arguments for `bind`, `call`, and `apply` methods match the original function. */
6dd74de87 // "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */
6dd74de88 // "noImplicitThis": true, /* Enable error reporting when `this` is given the type `any`. */
6dd74de89 // "useUnknownInCatchVariables": true, /* Type catch clause variables as 'unknown' instead of 'any'. */
6dd74de90 // "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */
6dd74de91 // "noUnusedLocals": true, /* Enable error reporting when a local variables aren't read. */
6dd74de92 // "noUnusedParameters": true, /* Raise an error when a function parameter isn't read */
6dd74de93 // "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */
6dd74de94 // "noImplicitReturns": true, /* Enable error reporting for code paths that do not explicitly return in a function. */
6dd74de95 // "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
6dd74de96 // "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */
6dd74de97 // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */
6dd74de98 // "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type */
6dd74de99 // "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
6dd74de100 // "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
6dd74de101
6dd74de102 /* Completeness */
6dd74de103 // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
6dd74de104 "skipLibCheck": true /* Skip type checking all .d.ts files. */
6dd74de105 },
6dd74de106 "exclude": ["**/node_modules/*", "**/dist/*", ".git", "coverage"]
6dd74de107}