Migrate to Typescript, add prettier and add linter

This commit is contained in:
Charles Bochet
2022-12-02 12:03:29 +01:00
parent 64d07b907c
commit f685be3d22
13 changed files with 1355 additions and 4262 deletions

13
front/src/index.tsx Normal file
View File

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