-
Notifications
You must be signed in to change notification settings - Fork 334
Add typescript definitions #159
Comments
@mgetzbw sort of... #49 almost seem to imply some architecture change. This would just be adding a type definition file. There would be no functional changes to achieve this, but it would allow people to work with this library in typescript |
+1 |
Actually this is more important just for the use of the official VSCode supported editor |
Absolutely want. Is there a community effort for this kind of feature? I am in the process of converting our Visualforce javascript into a typescript library and moving to Lightning would be much easier with typing definitions for Aura. |
@d0th3do I'd be willing to help out... I don't use the library, but I'm an advocate for people using typescript with salesforce. Seem like more or less we'd just need to go through the docs and start breaking it out to definitely typed. |
@ChuckJonas yeah, it shouldn't be too difficult to do, but if some of the folks over at forcedotcom were to start up an open source typing library it would be a lot easier to maintain than starting it up on our own. Despite that I might do it for fun when Lightning starts becoming a necessity or I get bored. |
@d0th3do typically with this type of stuff, if it's not written in typescript, the types almost always live in DefinitelyTyped (allows you to do |
@ChuckJonas & @d0th3do: Have you seen this? DefinitelyTyped/DefinitelyTyped#6597 |
It would be really great to get this project on DefinitelyTyped so people can use it with typescript.
The text was updated successfully, but these errors were encountered: