Skip to content

Commit

Permalink
avoid cast on native function
Browse files Browse the repository at this point in the history
  • Loading branch information
lgassman committed Dec 30, 2024
1 parent 6db4e94 commit d668b80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/natives.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ should()
const myModelNative = {
model: {
myModel: {
*nativeOne(_self: any): any {
return yield* (this as any).reify(1)
*nativeOne(this: any, _self: any): any {
return yield* this.reify(1)
},
},
},
Expand Down

0 comments on commit d668b80

Please sign in to comment.