Home / File/ tsconfig.json — react Source File

tsconfig.json — react Source File

Architecture documentation for tsconfig.json, a json file in the react codebase.

Entity Profile

Source Code

// Custom tsconfig for IDE integration of fixture files.
// Note that noEmit is set, as we actually rely on snap and sprout
// to transform these files.
{
  "compilerOptions": {
    "allowJs": true,
    "isolatedModules": true,
    "noEmit": true,
    "noImplicitAny": false,
    "noUncheckedIndexedAccess": false,
    "noUnusedParameters": false,
    "useUnknownInCatchVariables": false,
    "noUnusedLocals": false,
    "baseUrl": ".",
    "jsx": "preserve",
    "paths": {
      // Editor integration for sprout shared runtime files
      "shared-runtime": ["../../../../snap/src/sprout/shared-runtime.ts"]
    },
    "verbatimModuleSyntax": true,
    "module": "ESNext",
    "allowSyntheticDefaultImports": true,
    "moduleDetection": "force"

  },
  "include": [
    "./compiler/**/*.js",
    "./compiler/**/*.mjs",
    "./compiler/**/*.cjs",
    "./compiler/**/*.ts",
    "./compiler/**/*.mts",
    "./compiler/**/*.cts",
    "./compiler/**/*.jsx",
    "./compiler/**/*.tsx"
  ]
}

Frequently Asked Questions

What does tsconfig.json do?
tsconfig.json is a source file in the react codebase, written in json.
Where is tsconfig.json in the architecture?
tsconfig.json is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/tsconfig.json (directory: compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free