Add TypeScript types for App component

This commit is contained in:
2025-04-15 20:00:20 +02:00
parent e4fb276cf7
commit 46e4897881
4 changed files with 13 additions and 5 deletions

12
app/src/index.tsx Normal file
View File

@@ -0,0 +1,12 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
const rootElement = document.getElementById('root') as HTMLElement;
const root = ReactDOM.createRoot(rootElement);
root.render(
<React.StrictMode>
<App />
</React.StrictMode>
);