mljs / ml

Machine learning tools in JavaScript
MIT License
2.53k stars 209 forks source link

Typescript definitions #61

Open yornaath opened 7 years ago

yornaath commented 7 years ago

Is typescript definitions something you plan on creating for these packages?

maasencioh commented 7 years ago

hello @gorillatron, you are talking about "compiling" this project in typescript? currently no one in this team uses typescript, so it's not in the close time, but we could consider it depending in the complexity to do it, what do you think @mljs/collaborators?

yornaath commented 7 years ago

You dont have to necessarily rewrite your source code to Typescript. Typescript hase something called Ambient Declarations.

They can live in a separate repo, and added to to @types registry. But it does add maintenance cost and complexity.

tommedema commented 6 years ago

Typescript definitions would be great!

danielgwilson commented 5 years ago

+1 on this!

This would add a lot of value.