Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Add typescript definitions #159

Closed
ChuckJonas opened this issue Apr 11, 2018 · 8 comments
Closed

Add typescript definitions #159

ChuckJonas opened this issue Apr 11, 2018 · 8 comments

Comments

@ChuckJonas
Copy link

It would be really great to get this project on DefinitelyTyped so people can use it with typescript.

@ChuckJonas
Copy link
Author

ChuckJonas commented Apr 11, 2018

@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

@JoernBerkefeld
Copy link

+1

@mgetzbw
Copy link

mgetzbw commented Jun 25, 2018

Actually this is more important just for the use of the official VSCode supported editor

@d0th3do
Copy link

d0th3do commented Jul 30, 2018

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.

@ChuckJonas
Copy link
Author

ChuckJonas commented Jul 30, 2018

@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.

@d0th3do
Copy link

d0th3do commented Jul 30, 2018

@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.

@ChuckJonas
Copy link
Author

@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 npm install -D @types/aura... So even if we started the DefinitelyTyped project, they could always take it over if they wanted

@benjaminloerincz
Copy link

@ChuckJonas & @d0th3do: Have you seen this? DefinitelyTyped/DefinitelyTyped#6597

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants