Skip to content

Commit

Permalink
Make Sound._tryToPlayTimeout member only Nullable, not undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
docEdub committed Jul 13, 2023
1 parent 1b24178 commit 4c1e31f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dev/core/src/Audio/sound.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export class Sound {
private _urlType: "Unknown" | "String" | "Array" | "ArrayBuffer" | "MediaStream" | "AudioBuffer" | "MediaElement" = "Unknown";
private _length?: number;
private _offset?: number;
private _tryToPlayTimeout?: Nullable<NodeJS.Timeout>;
private _tryToPlayTimeout: Nullable<NodeJS.Timeout>;
private _audioUnlockedObserver?: Nullable<Observer<IAudioEngine>>;

/**
Expand Down

0 comments on commit 4c1e31f

Please sign in to comment.