-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
π Description
Migrate all files in /utils and /hooks from JavaScript to TypeScript.
This ensures strong typing for core logic functions that drive sound generation, canvas drawing, and user interactions.
β Tasks
- Convert the following utility files:
applyEnvelope.jsapplyShape.jscreateWaveform.js
- Convert hooks:
useCanvasDrawing.jsuseCanvasInteraction.js
- Add explicit types for parameters and return values.
- Replace implicit
anytypes with proper TypeScript annotations. - Verify everything compiles and runs correctly.
π― Expected Outcome
- All utility and hook logic files are
.tsor.tsx. - Type checking ensures function correctness.
- No TypeScript errors or regressions occur.