From b34e6f6ceda82a988b6af405afa28be428d9c887 Mon Sep 17 00:00:00 2001 From: Michael Kauzmann Date: Mon, 15 Aug 2022 12:15:42 -0600 Subject: [PATCH] convert to typescript, https://github.com/phetsims/joist/issues/830 --- js/openPopup.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/openPopup.ts b/js/openPopup.ts index 9425bc8..467370f 100644 --- a/js/openPopup.ts +++ b/js/openPopup.ts @@ -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