-
Notifications
You must be signed in to change notification settings - Fork 262
Typscriptify? #35
Comments
I'm definitely down with this assuming the drawbacks listed end up being the only notable ones. |
I think an additional concern is going to be how TypeScript decorators and the final ES decorators will differ since the ES spec has already changed for how they are implemented. I've been waiting for the new spec to be implemented in Babel 6 before moving this lib over to it and investigating backwards compatibility, but something to consider if TypeScript is to be officially support by this lib. #15 is tracking that issue as part of the Road to 1.0 for core-decorators. |
Noted. I assume since @jonathandturner is involved with Typescript and the spec discussions in wycats/javascript-decorators#36 Typescript will play nice with the specification, but something to track for sure 👍 |
One slight change to the build process (we have the same issue in RxJS, fwiw) would be the |
FWIW, I don't work at MS anymore and haven't been doing any design work for TS. The TS team, wycats, and the Angular team are good contacts for decorator discussions. |
Or.... not. :D Sorry for the noise! |
wycats confirmed to me that TS will indeed change their implementation to match the ES spec, so when that spec is more solidified and either Babel or TS upgrade their shit to the new spec, we can do so as well and worry then about backwards compatibility or choose not. |
So basically, @robwormald 👍 go for it. |
No worries :) |
@robwormald you still up for this? |
Could we at least get the typescript definitions distributed with the package for the meantime? That would only require commiting the ones from DT and adding a |
Following from the twitter discussion -
I'm happy to do a PR to convert, at first pass doesn't look like it would be too much trouble.
Benefits:
Drawbacks:
Discuss?
The text was updated successfully, but these errors were encountered: