replace react-js with react-ts

This commit is contained in:
2025-06-21 07:32:06 +09:00
parent 890087a572
commit fab8c22e0c
14 changed files with 818 additions and 144 deletions

View File

@@ -22,7 +22,7 @@ function App() {
count is {count}
</button>
<p>
Edit <code>src/App.jsx</code> and save to test HMR
Edit <code>src/App.tsx</code> and save to test HMR
</p>
</div>
<p className="read-the-docs">

View File

@@ -1,9 +1,9 @@
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(
createRoot(document.getElementById('root')!).render(
<StrictMode>
<App />
</StrictMode>,

1
frontend/src/vite-env.d.ts vendored Normal file
View File

@@ -0,0 +1 @@
/// <reference types="vite/client" />