Skip to content

Commit

Permalink
annotating type
Browse files Browse the repository at this point in the history
  • Loading branch information
tambien committed Nov 13, 2019
1 parent c4153ed commit 94ab939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tone/core/clock/TickSource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ export class TickSource<TypeName extends "bpm" | "hertz"> extends ToneWithContex
lastStateEvent = event;
});

let error = null;
let error: Error | null = null;

if (lastStateEvent && lastStateEvent.state === "started") {
const maxStartTime = Math.max(lastStateEvent.time, startTime);
Expand Down

0 comments on commit 94ab939

Please sign in to comment.