GoogleChromeLabs / GoogleChromeLabs/comlink
Missing types for `Comlink.finalizer` props on objects.
Open
- Dominant language
- TypeScript
- Stars
- 12.8k
- Forks
- 435
- PR merge metrics
- No merged PRs in 30d
Description
There is no TypeScript inference for the `Comlink.finalizer` prop, and it will always throw an error.
Additionally, it's not clear what a "exposed object" is, and on which end it should be called.
> If an exposed object has a property `[Comlink.finalizer]`, the property will be invoked as a function when the proxy is being released.
Contributor guide
Assessment
This issue has not been assessed yet.