diff --git a/src/App.jsx b/src/App.tsx similarity index 100% rename from src/App.jsx rename to src/App.tsx diff --git a/src/main.jsx b/src/main.jsx index b9a1a6d..b28d2e0 100644 --- a/src/main.jsx +++ b/src/main.jsx @@ -1,7 +1,7 @@ import { StrictMode } from 'react' import { createRoot } from 'react-dom/client' import './index.css' -import App from './App.jsx' +import App from './App.tsx' createRoot(document.getElementById('root')).render( diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..43ae38b --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,29 @@ +{ + "compileOnSave": false, + "compilerOptions": { + "jsx": "react", + "allowSyntheticDefaultImports": true, + "rootDir": ".", + "sourceMap": true, + "declaration": false, + "moduleResolution": "node", + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "noFallthroughCasesInSwitch": true, + "useUnknownInCatchVariables": true, + "strict": true, + "strictNullChecks": true, + "noUncheckedIndexedAccess": true, + "strictPropertyInitialization": false, + "importHelpers": true, + "target": "ESNext", + "module": "ESNext", + "lib": ["ESNext", "dom"], + "skipLibCheck": true, + "skipDefaultLibCheck": true, + "baseUrl": ".", + "paths": { + } + }, + "exclude": ["node_modules", "tmp"] +}