Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
fix: err TS2339 (#788)
Browse files Browse the repository at this point in the history
  • Loading branch information
neerajkumarc authored Nov 14, 2023
1 parent 938238c commit a9c6b4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kaboom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4270,7 +4270,7 @@ export default (gopt: KaboomOpt = {}): KaboomCtx => {

},

update(this: GameObj<PosComp | BodyComp>) {
update(this: GameObj<PosComp | BodyComp | AreaComp >) {

if (game.gravity && !this.isStatic) {

Expand Down

0 comments on commit a9c6b4c

Please sign in to comment.