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

Strict mode on ToObject #26

Open
arran4 opened this issue Mar 14, 2020 · 0 comments
Open

Strict mode on ToObject #26

arran4 opened this issue Mar 14, 2020 · 0 comments

Comments

@arran4
Copy link
Contributor

arran4 commented Mar 14, 2020

I would like the ability to only export fields defined by the typescript. Type script doesn't seem to have a native way to do this as of the version I'm using (but there are a couple of promising things) so I imagine it might need to be a modification of the toObject function to be more aware I guess.

In my specific case I'm using it for communicating an object back and forwards between the two applications but some JS libraries seem to be contaminating the object.

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