Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proxy on undefined is interpreted as callable #13

Open
kosich opened this issue Jun 14, 2021 · 0 comments
Open

Proxy on undefined is interpreted as callable #13

kosich opened this issue Jun 14, 2021 · 0 comments

Comments

@kosich
Copy link
Owner

kosich commented Jun 14, 2021

Seems like Observable<undefined> type is interpreted as callable (ICallableProxy), which provides Function.prototype props:

Screenshot 2021-06-14 at 18 05 46

let o = of<{ a: undefined }>({ a: undefined });
let p = proxify(o);
p.a.call()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant