Commit fa0d99a
fix(terminal): resolve TypeScript error for oscillator.start() call (#344)
- Fixed TS2554 error where oscillator.start() expected 1-2 arguments but got 0
- The Web Audio API's start() method requires an explicit when parameter
- Changed oscillator.start() to oscillator.start(audioContext.currentTime)
for explicit timing aligned with oscillator.stop()
This fixes the terminal bell sound functionality while resolving the
TypeScript compilation error.
Co-authored-by: Droid Agent <droid@factory.ai>1 parent 8936d83 commit fa0d99a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1299 | 1299 | | |
1300 | 1300 | | |
1301 | 1301 | | |
1302 | | - | |
| 1302 | + | |
1303 | 1303 | | |
1304 | 1304 | | |
1305 | 1305 | | |
| |||
0 commit comments