File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
packages/quickjs-emscripten-core/src Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,7 @@ import type { JSPromiseState } from "./deferred-promise"
17
17
import { QuickJSDeferredPromise } from "./deferred-promise"
18
18
// eslint-disable-next-line @typescript-eslint/no-unused-vars
19
19
import type { shouldInterruptAfterDeadline } from "./interrupt-helpers"
20
- import {
21
- QuickJSEmscriptenModuleError ,
22
- QuickJSNotImplemented ,
23
- QuickJSPromisePending ,
24
- QuickJSUnwrapError ,
25
- } from "./errors"
20
+ import { QuickJSNotImplemented , QuickJSPromisePending , QuickJSUnwrapError } from "./errors"
26
21
import type { Disposable , DisposableArray , DisposableFail , DisposableSuccess } from "./lifetime"
27
22
import {
28
23
DisposableResult ,
@@ -1337,11 +1332,11 @@ export class QuickJSContext
1337
1332
return this . memory . heapValueHandle ( ptr )
1338
1333
}
1339
1334
1340
- protected success < S > ( value : S ) : DisposableSuccess < S , QuickJSHandle > {
1335
+ protected success < S > ( value : S ) : DisposableSuccess < S > {
1341
1336
return DisposableResult . success ( value )
1342
1337
}
1343
1338
1344
- protected fail < S > ( error : QuickJSHandle ) : DisposableFail < S , QuickJSHandle > {
1339
+ protected fail ( error : QuickJSHandle ) : DisposableFail < QuickJSHandle > {
1345
1340
return DisposableResult . fail ( error , ( error ) => this . unwrapResult ( error ) )
1346
1341
}
1347
1342
}
You can’t perform that action at this time.
0 commit comments