From 21446dcbc1c5e8af11d8617c59608da03cf0f3c6 Mon Sep 17 00:00:00 2001 From: Jeremy Rose Date: Wed, 6 Dec 2023 10:37:25 -0800 Subject: [PATCH] fix type error --- test/all.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/all.ts b/test/all.ts index 99ac5fc..2a8c073 100644 --- a/test/all.ts +++ b/test/all.ts @@ -887,7 +887,7 @@ describe('remote module', () => { } catch (e) { done(e) } finally { - process.off('unhandledRejection', onUnhandledRejection) + process.off('unhandledRejection' as any, onUnhandledRejection) } }) })