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

Fix return type of list datasets #105

Merged
merged 1 commit into from
Nov 20, 2023
Merged

Fix return type of list datasets #105

merged 1 commit into from
Nov 20, 2023

Conversation

DaniFoldi
Copy link
Contributor

In Typescript, arrays are typed as T[] (or Array<T>), [T] means a tuple where the first element is type T. The example didn't catch this as at runtime they are represented as arrays (and therefore iterable the same way), however assignments are typechecked so the array length and element types are restricted to what is defined in the tuple.

@dasfmi dasfmi enabled auto-merge November 20, 2023 09:06
@dasfmi dasfmi disabled auto-merge November 20, 2023 11:29
@dasfmi dasfmi merged commit b703d05 into axiomhq:main Nov 20, 2023
8 checks passed
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

Successfully merging this pull request may close these issues.

2 participants