diff --git a/.changeset/afraid-colts-sneeze.md b/.changeset/afraid-colts-sneeze.md new file mode 100644 index 0000000000..2c8b9f7501 --- /dev/null +++ b/.changeset/afraid-colts-sneeze.md @@ -0,0 +1,5 @@ +--- +"@khanacademy/perseus": patch +--- + +Remove simpleValidate from PhET widget diff --git a/packages/perseus/src/widgets/phet-simulation.tsx b/packages/perseus/src/widgets/phet-simulation.tsx index 519dd1f27b..77ec064c18 100644 --- a/packages/perseus/src/widgets/phet-simulation.tsx +++ b/packages/perseus/src/widgets/phet-simulation.tsx @@ -72,11 +72,6 @@ export class PhetSimulation extends React.Component { return Changeable.change.apply(this, args); }; - simpleValidate: (arg1: any) => any = (rubric) => { - // @ts-expect-error - TS2339 - Property 'validate' does not exist on type 'typeof PhetSimulation'. - return PhetSimulation.validate(this.getUserInput(), rubric); - }; - // kaLocales and PhET locales use different formats and abbreviations. // PhET accepts different formats, i.e. kaLocale's hyphens, but it does not accept // different abbreviations, so in points of divergence of abbreviations, we need to