summaryrefslogtreecommitdiff
path: root/core/internal.d.ts
diff options
context:
space:
mode:
authorNicholas Berlette <nick@berlette.com>2023-03-14 07:05:59 -0700
committerGitHub <noreply@github.com>2023-03-14 15:05:59 +0100
commit9089c12912f21dcfe97a27fc21f3fca4cc640e85 (patch)
treec58332d3a662ad7e05566ceadce406dc0146baba /core/internal.d.ts
parent6f308b3af04bc63607ca9cec574d2fa2084b2003 (diff)
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.
Diffstat (limited to 'core/internal.d.ts')
-rw-r--r--core/internal.d.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/internal.d.ts b/core/internal.d.ts
index e34cfbe71..a3e8c9e4d 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