Skip to content

Commit

Permalink
Add ts-ignore, see phetsims/studio#273
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Aug 26, 2022
1 parent 550d37c commit 61da835
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/types/IOType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,8 @@ class IOType<T = any, StateType = any> { // eslint-disable-line @typescript-esli
};
this.fromStateObject = config.fromStateObject;
this.stateToArgsForConstructor = config.stateToArgsForConstructor;

// @ts-ignore see https://github.com/phetsims/studio/issues/273
this.applyState = ( coreObject: T, stateObject: CompositeStateObjectType ) => {
validate( coreObject, this.validator, VALIDATE_OPTIONS_FALSE );

Expand Down

0 comments on commit 61da835

Please sign in to comment.