Skip to content

Commit

Permalink
transpile in daily grunt work, phetsims/binder#30
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Jul 7, 2022
1 parent 22b3962 commit 49b9cb6
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 @@ -33,4 +33,12 @@ declare var phetio: any;

declare var assertions: {
enableAssert: () => void;
};
};

// Experiment to allow accessing these off window. See https://stackoverflow.com/questions/12709074/how-do-you-explicitly-set-a-new-property-on-window-in-typescript
declare global {
interface Window {
phet: any;
phetio: any;
}
}

0 comments on commit 49b9cb6

Please sign in to comment.