mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
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.
This commit is contained in:
parent
6f308b3af0
commit
9089c12912
1 changed files with 1 additions and 1 deletions
2
core/internal.d.ts
vendored
2
core/internal.d.ts
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue