Skip to content

Commit

Permalink
convert to typescript, phetsims/joist#830
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Aug 15, 2022
1 parent 0393d86 commit b34e6f6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions js/openPopup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ import phetCore from './phetCore.js';

/**
* Opens the URL in a new window or tab.
*
* @param {string} url
*/
function openPopup( url ) {
function openPopup( url: string ): void {

// Don't allow openPopup IF we have query parameters AND allowLinks is false,
// see https://github.com/phetsims/joist/issues/830
Expand Down

0 comments on commit b34e6f6

Please sign in to comment.