Comcast / Comcast/publicious

Provide a function signature for the prototype assignments

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Using Function as PubSub's function type allows consumers of it to call it without any type safety of the functions signature.

This should also support RxJS's EventTargetLike type with the on/off signature, or [add|remove]EventListener
https://github.com/ReactiveX/rxjs/blob/master/src/observable/FromEventObservable.ts#L38

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.