File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
orm/db/postgres/in-pg/src Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,10 @@ export class WasmLoader {
9090 ) as WebAssembly . ModuleImports ,
9191 } ;
9292
93- const result = await WebAssembly . instantiate ( this . inPg . wasmData , info ) as
93+ const result = await WebAssembly . instantiate (
94+ this . inPg . wasmData ,
95+ info ,
96+ ) as unknown as
9497 & WebAssembly . Instance
9598 & { instance : WebAssembly . Instance } ;
9699
Original file line number Diff line number Diff line change @@ -246,7 +246,10 @@ export class InResponse {
246246 this . #content = options . content ;
247247 return ;
248248 }
249- this . #content = new TextEncoder ( ) . encode ( options . content ) ;
249+ const content = new TextEncoder ( ) . encode ( options . content ) as Uint8Array <
250+ ArrayBuffer
251+ > ;
252+ this . #content = content ;
250253 }
251254
252255 /**
You can’t perform that action at this time.
0 commit comments