The official TypeScript template for Create React App providing preconfigured TypeScript support and development environment setup.
Overall
score
98%
{
"context": "Evaluates whether the solution verifies tsconfig.json files against the strict defaults emitted by cra-template-typescript and surfaces deviations clearly. Focus stays on CRA TypeScript default values, their validation reporting, and how corrections preserve non-default options.",
"type": "weighted_checklist",
"checklist": [
{
"name": "CRA defaults",
"description": "Loads or embeds CRA TypeScript defaults exactly (target es5; lib dom, dom.iterable, es6; jsx react-jsx; include [\"src\"]; allowJs/skipLibCheck/esModuleInterop/allowSyntheticDefaultImports true).",
"max_score": 25
},
{
"name": "Strict flags",
"description": "Validation enforces strict: true, isolatedModules: true, noEmit: true, forceConsistentCasingInFileNames: true, and noFallthroughCasesInSwitch: true; failure recorded when any differ.",
"max_score": 25
},
{
"name": "Module interop",
"description": "Checks module: \"esnext\", moduleResolution: \"node\", resolveJsonModule: true, plus interop flags (esModuleInterop and allowSyntheticDefaultImports) and reports mismatches.",
"max_score": 20
},
{
"name": "Deviation report",
"description": "validateTsconfig output sets status fail on missing/mismatched CRA options and lists each option with expected vs actual in mismatched/missing arrays per spec.",
"max_score": 10
},
{
"name": "Extras tolerance",
"description": "Custom options outside the CRA default list (e.g., baseUrl/paths) do not flip status to fail when defaults match and are captured separately via extras reporting.",
"max_score": 10
},
{
"name": "Correction merge",
"description": "correctedConfig re-applies CRA defaults only for deviating CRA options, preserves other config content (including include entries and unrelated fields), and reports correctedOptions names.",
"max_score": 10
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-cra-template-typescript