Closed vectronic closed 2 years ago
Since https://github.com/denoland/deno/pull/14915 was released in Deno v1.23.1 my bindings.ts file no longer compiles as there is a typescript error:
error: TS2345 [ERROR]: Argument of type 'UnsafePointer' is not assignable to parameter of type 'bigint'.
for a generated line such as:
const ptr = new Deno.UnsafePointerView(v as Deno.UnsafePointer)
I'm wondering if there is a plan to update deno_bindgen accordingly or is there some other direction to be looking now?
Thanks very much.
Since https://github.com/denoland/deno/pull/14915 was released in Deno v1.23.1 my bindings.ts file no longer compiles as there is a typescript error:
error: TS2345 [ERROR]: Argument of type 'UnsafePointer' is not assignable to parameter of type 'bigint'.
for a generated line such as:
const ptr = new Deno.UnsafePointerView(v as Deno.UnsafePointer)
I'm wondering if there is a plan to update deno_bindgen accordingly or is there some other direction to be looking now?
Thanks very much.