Skip to content

Commit

Permalink
Replacing SelfOptions={} for EmptyObjectType, see phetsims/chipper#1252
Browse files Browse the repository at this point in the history
  • Loading branch information
AgustinVallejo committed Jun 15, 2022
1 parent cb0ffc3 commit a7e7d71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/CTQIconNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import { Circle, Color, Font, Node, NodeOptions, Rectangle, Text } from '../../scenery/js/imports.js';
import ScreenView from '../../joist/js/ScreenView.js';
import EmptyObjectType from '../../phet-core/js/types/EmptyObjectType.js';

// colors
const phetBlue = '#6acdf5';
Expand All @@ -17,7 +18,7 @@ const phetPink = '#e01e5a';
// constants
const HEIGHT = ScreenView.DEFAULT_LAYOUT_BOUNDS.height;

type SelfOptions = {};
type SelfOptions = EmptyObjectType;
type CtqLogoScreenViewOptions = SelfOptions & NodeOptions;

class CTQIconNode extends Node {
Expand Down

0 comments on commit a7e7d71

Please sign in to comment.