1
0
Fork 0
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:
Nicholas Berlette 2023-03-14 07:05:59 -07:00 committed by GitHub
parent 6f308b3af0
commit 9089c12912
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
core/internal.d.ts vendored
View file

@ -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