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 ts typings for resolve.http and resolve.file #51

Merged
merged 1 commit into from
Jan 11, 2018
Merged

Fix ts typings for resolve.http and resolve.file #51

merged 1 commit into from
Jan 11, 2018

Conversation

RomanHotsiy
Copy link
Contributor

Current ts definitions specify canRead as a required property in options. Fixed it using Partial mapped type.

@bcherny, could you plz review

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.3%) to 94.38% when pulling 41e6f58 on RomanGotsiy:patch-1 into f82aeef on BigstickCarpet:master.

@coveralls
Copy link

coveralls commented Oct 10, 2017

Coverage Status

Coverage decreased (-0.09%) to 94.579% when pulling 41e6f58 on RomanGotsiy:patch-1 into f82aeef on BigstickCarpet:master.

@JamesMessinger
Copy link
Member

@RomanGotsiy - Thanks for the PR. I'm not very familiar with TypeScript, so I have no idea if this is the correct type definition. Any feedback from @bcherny would be much appreciated. If you guys say it looks good, then I'll merge the PR.

@JamesMessinger JamesMessinger merged commit 3f5fbc0 into APIDevTools:master Jan 11, 2018
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.

3 participants