1
0
Fork 0
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:
Nicholas Berlette 2023-03-14 07:05:59 -07:00 committed by Yoshiya Hinosawa
parent 9bbe015fca
commit ae9480600b

2
core/internal.d.ts vendored
View file

@ -534,7 +534,7 @@ declare namespace __bootstrap {
export const FinalizationRegistryPrototype: export const FinalizationRegistryPrototype:
typeof FinalizationRegistry.prototype; typeof FinalizationRegistry.prototype;
export const FinalizationRegistryPrototypeRegister: UncurryThis< export const FinalizationRegistryPrototypeRegister: UncurryThis<
typeof FinalizationRegistry.prototype.registar typeof FinalizationRegistry.prototype.register
>; >;
export const FinalizationRegistryPrototypeUnregister: UncurryThis< export const FinalizationRegistryPrototypeUnregister: UncurryThis<
typeof FinalizationRegistry.prototype.unregister typeof FinalizationRegistry.prototype.unregister