From 9089c12912f21dcfe97a27fc21f3fca4cc640e85 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