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

Allow namespace imports #16

Open
jacobgardner opened this issue Jul 19, 2019 · 0 comments
Open

Allow namespace imports #16

jacobgardner opened this issue Jul 19, 2019 · 0 comments
Labels
enhancement New feature or request Low Priority

Comments

@jacobgardner
Copy link
Owner

Right now, the only imports we allow are named imports. (e.g. import {assertIsType} from 'ts-audit';)

If possible we should allow:

import * as tsAudit from 'ts-audit';

tsAudit.assertIsType<Something>(rawData);
@jacobgardner jacobgardner added enhancement New feature or request Low Priority labels Jul 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Low Priority
Projects
None yet
Development

No branches or pull requests

1 participant