Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Sep 1, 2022
1 parent ca0e624 commit 9f3c65e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/preferences/PreferencesModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,7 @@ export default class PreferencesModel extends PhetioObject {
public readonly inputModel: InputModel;
public readonly localizationModel: LocalizationModel;

public constructor( providedOptions?: PreferencesModelOptions ) {
providedOptions = providedOptions || {};
public constructor( providedOptions: PreferencesModelOptions = {} ) {

// initialize-globals uses package.json to determine defaults for features enabled by the sim and those defaults
// can be overwritten by query parameter. So phet.chipper.queryParameters contains an accurate representation of
Expand Down

0 comments on commit 9f3c65e

Please sign in to comment.