metal / metal.js

Build UI components in a solid, flexible way
http://metaljs.com
Other
230 stars 59 forks source link

TypeScript definitions #392

Open rafakwolf opened 6 years ago

rafakwolf commented 6 years ago

Please add typescript definitions for better intellisense.

Here the list of editors that support: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Editor-Support

Here some generators: https://github.com/ConquestArrow/dtsmake https://github.com/Microsoft/dts-gen

jbalsas commented 6 years ago

Hey @rafakwolf, this is definitely something we've discussed in the past.

Do you have a specific use case where you're using metal.js in a TypeScript project, or you're simply looking to get better intellisense within Visual Studio Code for general projects?

rafakwolf commented 6 years ago

Hey @jbalsas, actually, better intellisense... and in my opinion, typescript definitions becomes a self-documentation for the code.