Skip to content

Commit

Permalink
add type checking to specific locale strings, phetsims/joist#892
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Dec 12, 2022
1 parent 1e38bb5 commit c73b827
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/getLinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*/

import TReadOnlyProperty from '../../axon/js/TReadOnlyProperty.js';
import { Locale } from '../../joist/js/i18n/localeProperty.js';
import JoistStrings from '../../joist/js/JoistStrings.js';
import brand from './brand.js';

Expand All @@ -22,7 +23,7 @@ export type LinkObject = {
tandemName: string;
};

const getLinks = ( simName: string, locale: string ): LinkObject[] => {
const getLinks = ( simName: string, locale: Locale ): LinkObject[] => {
return [
{
textStringProperty: termsPrivacyAndLicensingStringProperty,
Expand Down

0 comments on commit c73b827

Please sign in to comment.