mirror of
https://github.com/denoland/deno.git
synced 2024-12-01 16:51:13 -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
9bbe015fca
commit
ae9480600b
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