From ae9480600bc91a2ed2993db3d3ca333f7ed5646d Mon Sep 17 00:00:00 2001 From: Nicholas Berlette Date: Tue, 14 Mar 2023 07:05:59 -0700 Subject: [PATCH] fix(core/internal): fix typo in primordial type definitions (#18125) This PR resolves a very small typo in the primordial typedefs file `./core/internal.d.ts`. The correct reference now reads `typeof FinalizationRegistry.prototype.register`. Before this PR the type alias pointed to `registar`, which obviously doesn't exist. --- core/internal.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/internal.d.ts b/core/internal.d.ts index e34cfbe713..a3e8c9e4d3 100644 --- a/core/internal.d.ts +++ b/core/internal.d.ts @@ -534,7 +534,7 @@ declare namespace __bootstrap { export const FinalizationRegistryPrototype: typeof FinalizationRegistry.prototype; export const FinalizationRegistryPrototypeRegister: UncurryThis< - typeof FinalizationRegistry.prototype.registar + typeof FinalizationRegistry.prototype.register >; export const FinalizationRegistryPrototypeUnregister: UncurryThis< typeof FinalizationRegistry.prototype.unregister