TypeScript · Middle · Question 59 of 75
How do you share one strict base configuration between many packages?
{ "extends": "@tsconfig/strictest/tsconfig.json", "include": ["src"] }- ✓Correct answer: Use
extendsin eachtsconfig.jsonpointing to a shared base - 2Copy the same file everywhere
- 3Put options into
package.json
Explanation
Community bases (@tsconfig/node22, @tsconfig/strictest, ...) or an internal package keep settings consistent.