Skip to content

Commit

Permalink
converted SoundClip to TS, see phetsims/tambo#160
Browse files Browse the repository at this point in the history
  • Loading branch information
jbphet committed Mar 29, 2022
1 parent a04de15 commit e21de9f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions phet-types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

// See https://stackoverflow.com/a/51114250/3408502
RoundButtonOptions = import('../sun/buttons/RoundButton.ts').RoundButtonOptions;
SoundGeneratorOptions = import('../tambo/js/sound-generators/SoundGenerator.ts').SoundGeneratorOptions;

declare var assert: undefined | ( ( x: any, s?: string ) => void );
declare var assertSlow: undefined | ( ( x: any, s?: string ) => void );
Expand All @@ -23,14 +22,6 @@ type RoundPushButtonOptions = {
listener?: () => void,
} & RoundButtonOptions;

type SoundClipOptions = {
loop?: boolean,
trimSilence?: boolean,
initialPlaybackRate?: number,
initiateWhenDisabled?: boolean,
rateChangesAffectPlayingSounds?: boolean
} & SoundGeneratorOptions;

type QSMType = {
getAll: ( a: any ) => any,
containsKey: ( key: string ) => boolean
Expand Down

0 comments on commit e21de9f

Please sign in to comment.