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 flowtype of date object in ReadDirItem #290

Merged
merged 1 commit into from
May 1, 2017

Conversation

wschurman
Copy link
Contributor

@wschurman wschurman commented May 1, 2017

Summary

On react-native projects that use flow (on by default), this started showing up as an invalid type.

This commit also upgrades flow bin to match .flowconfig version and adds a npm script to run flow check.

Resolves #289

Test plan

  1. Run npm run flow, no longer see error for undefined date type.
  2. Import into another project locally, no longer see that error.

This commit also upgrades flow bin to match .flowconfig version and adds a npm script to run flow check.
@itinance itinance merged commit 7402cb0 into itinance:master May 1, 2017
@wschurman wschurman deleted the fix_flowtype branch May 1, 2017 22:43
@itinance
Copy link
Owner

itinance commented May 1, 2017

Thanks for contributing! Please consider that created/modified was renamed to mtime/ctime in order to be compatible with result of stat()-function (although it wasnt reflected right in ReadDirItem). I changed this in ReadDirItem after the merge.

@lukaleli
Copy link

When this change will be released?

@itinance
Copy link
Owner

I am currently adding some further methods and will release today apparently

@lukaleli
Copy link

Thanks! Looking forward to it.

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