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 15, 2024
1 parent 692fea0 commit 71eb664
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 71eb664

Please sign in to comment.