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
Add moment-timezone types definition #3577
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You'll need to write tests.
Check the contributing guidelines
definitions/npm/moment-timezone_v2.x.x/flow_v0.104.x-/moment-timezone_v2.x.x.js
Outdated
Show resolved
Hide resolved
definitions/npm/moment-timezone_v2.x.x/flow_v0.104.x-/moment-timezone_v2.x.x.js
Outdated
Show resolved
Hide resolved
@pascalduez will add some test cases later. |
@pascalduez update import problem now. |
* Flowgen v1.10.0 | ||
*/ | ||
|
||
import * as moment from "moment-timezone"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's quite confusing.
Still missing tests. |
If this definition is to some day get merged, the definition shouldn't be built on flow-gen I believe. It's just way too confusing. From what I understand Also the definition should target package version 0.5.x not 2.x.x |
Found out we don't have moment-timezone's type definition.