Skip to content

Commit

Permalink
Add globals used in joist, see phetsims/joist#795
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Apr 16, 2022
1 parent 29ad53c commit ab5d999
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion phet-types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,12 @@ declare var phet: any; // eslint-disable-line no-unused-vars, no-var
declare var QueryStringMachine: { // eslint-disable-line no-unused-vars, no-var
getAll: ( a: any ) => any;
containsKey: ( key: string ) => boolean;
};
warnings: string[];
addWarning: ( key: string, value: boolean | object | number, message: string ) => void;
};

// globals used in Sim.ts
declare var phetSplashScreenDownloadComplete: () => void; // eslint-disable-line no-unused-vars, no-var
declare var TWEEN: { update: ( dt: number ) => void }; // eslint-disable-line no-unused-vars, no-var
declare var phetSplashScreen: { dispose: () => void }; // eslint-disable-line no-unused-vars, no-var
declare var phetio: any; // eslint-disable-line no-unused-vars, no-var

0 comments on commit ab5d999

Please sign in to comment.