Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

use overloading for proper type for readFile #62

Merged
merged 2 commits into from
Aug 11, 2017
Merged

Conversation

dherman
Copy link
Collaborator

@dherman dherman commented Jul 27, 2017

Updating to recent TS version causes a type error in the readFile signature. This fixes it using a more accurate overloading.

Copy link
Contributor

@jedireza jedireza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look reasonable, but I don't have much (read any) type script experience. 😄

@dherman
Copy link
Collaborator Author

dherman commented Aug 11, 2017

I'm going to merge this first and then figure out what's going wrong with that timing out test.

@dherman dherman merged commit e66469c into master Aug 11, 2017
@dherman dherman deleted the type-fix-for-readFile branch August 11, 2017 05:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants