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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed nested array type error with new IPaginatedResults type #479

Merged
merged 2 commits into from
Apr 2, 2021

Conversation

metasloth
Copy link
Contributor

@metasloth metasloth commented Apr 1, 2021

My recent PR #477 added redundant array type signature responses because I forgot how generics work 馃う .

This makes typescript think that the promise results are an array of arrays, as seen below:
image

I removed all erroneous array signatures and actually tested the code in practice this time to make sure it works as expected!

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 18977e7 on metasloth:master into 7873562 on MONEI:master.

@lpinca lpinca merged commit 6573c25 into MONEI:master Apr 2, 2021
@lpinca
Copy link
Collaborator

lpinca commented Apr 2, 2021

Thank you.

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.

None yet

3 participants