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

asIteration is missing from the TypeScript types #407

Closed
ericmorand opened this issue Nov 29, 2022 · 2 comments
Closed

asIteration is missing from the TypeScript types #407

ericmorand opened this issue Nov 29, 2022 · 2 comments

Comments

@ericmorand
Copy link

asIteration is in the documentation but I cant' find it in the TypeScript types.

Is it really supported? How can we use it if we don't know on what kind of node it applies and what it returns?

Thanks by advance.

@pdubroy
Copy link
Contributor

pdubroy commented Nov 29, 2022

Good catch — I can add it to the type definitions. Yes, it's supported, and it returns an IterationNode.

@pdubroy
Copy link
Contributor

pdubroy commented Dec 19, 2022

Fixed on main. I will try to publish a minor release with the fix soon.

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

2 participants