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

Option to require defined Array/Object/Promise child items #219

Closed
brettz9 opened this issue May 14, 2019 · 1 comment
Closed

Option to require defined Array/Object/Promise child items #219

brettz9 opened this issue May 14, 2019 · 1 comment

Comments

@brettz9
Copy link
Collaborator

brettz9 commented May 14, 2019

For return or parameter type checks, it would be convenient to be able to require that any Array, Object, or Promise, be expressed as having an explicit child type, e.g., Array.<string>, string[], Object<string: number>, or Promise<void>. These might fit under the rules for returns and params having defined types.

@brettz9
Copy link
Collaborator Author

brettz9 commented May 14, 2019

Dupe of #87, sorry.

@brettz9 brettz9 closed this as completed May 14, 2019
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