feat: конфигурация TypeScript 5 с поддержкой React 19

- Настроен tsconfig.json со строгой проверкой типов
- Добавлена документация на русском языке (tsconfig.README.md)
- Automatic JSX runtime (react-jsx)
- Алиасы путей для удобного импорта
- Include src директории
This commit is contained in:
Ilia Mashkov
2025-11-19 10:12:20 +03:00
parent b7575ea756
commit afd73858b0
2 changed files with 126 additions and 0 deletions

33
tsconfig.json Normal file
View File

@@ -0,0 +1,33 @@
{
"compilerOptions": {
"outDir": "./dist/",
"noImplicitAny": true,
"module": "ESNext",
"target": "es5",
"jsx": "react-jsx",
"allowJs": true,
"moduleResolution": "node",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"baseUrl": ".",
"paths": {
"*": [
"./src/*"
]
},
"strict": true
},
"ts-node": {
"compilerOptions": {
"module": "CommonJS"
}
},
"include": [
"src"
],
"exclude": [
".fttemplates/**/*",
"node_modules",
"dist"
]
}