- Introduce static typing and modular code.
- Initialize TypeScript (create tsconfig.json with strict mode).
- Convert script.js → src/index.ts: -> Define interfaces/types for your event data. -> Use ES modules: separate fetcher.ts, renderer.ts, modal.ts, etc.
- Add build scripts (tsc or via bundler) to compile TS → JS into a dist/ folder.
- Verify the app still works in the browser using the compiled JS.
gaut113/dataArt-typescript
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|