Closed zhangxin511 closed 7 years ago
I think this related to an outdated type @wonbyte created. Specifically, I was only using "moment-timezone": "0.5.11", "@types/moment-timezone": "0.2.34" for my angular2 app using typescript. And now when I add "moment-business":"3.0.1" and "@types/moment-business":"0.1.1" it giving all kinds of unmatched Moment error. But after I remove "@types/moment-business":"0.1.1" I can use the package without error, only without typing.
When I try to use this with moment timezone in typescript, it looks like both timezone and business have definition to the Moment but they can't convert to each other.