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

Feature request: Allow disallowSuperfluousObjectProperties as an option to AssertType decorator factory #102

Open
sgpinkus opened this issue May 30, 2021 · 0 comments

Comments

@sgpinkus
Copy link

It would be useful to be able to override tsconfig.json disallowSuperfluousObjectProperties value on a case by case basis in AssertType decorator factory: @AssertType({ disallowSuperfluousObjectProperties: true|false}). Currently I'm pretty sure this isn't supported (??).

If not possible currently, not sure if it's maybe a lot of work (the transformer code looks surprisingly complicated), but thought would ask.

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