Skip to content

Commit

Permalink
Update to TypeScript 5.5 and typescript-eslint 8.3.0, start using @st…
Browse files Browse the repository at this point in the history
…ylistic/eslint-plugin, see phetsims/chipper#1451
  • Loading branch information
samreid committed Aug 27, 2024
1 parent bcacbfb commit 23c01e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/AnimationTarget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,9 @@ class AnimationTarget<T, Obj = unknown> {
assert && assert( config.attribute !== null );

// @ts-expect-error - We know that config.object is an object, but TS doesn't
config.setValue = AnimationTarget.OBJECT_SET( config.object, config.attribute! );
config.setValue = AnimationTarget.OBJECT_SET( config.object, config.attribute );
// @ts-expect-error - We know that config.object is an object, but TS doesn't
config.getValue = AnimationTarget.OBJECT_GET( config.object, config.attribute! );
config.getValue = AnimationTarget.OBJECT_GET( config.object, config.attribute );
}

// If `property` is provided, create the associated getter/setter
Expand Down

0 comments on commit 23c01e6

Please sign in to comment.