neutralinojs-cli icon indicating copy to clipboard operation
neutralinojs-cli copied to clipboard

Typescript definitions

Open corbane opened this issue 3 years ago • 4 comments

Hello,

Maybe it would be good to include the Typescript definitions in the "create" command.

corbane avatar Dec 04 '21 00:12 corbane

Hey.. thanks for the suggestion. Do you mean the TypeScript definitions of the create command is helpful for plugin developers? or any other use case?

shalithasuranga avatar Dec 04 '21 04:12 shalithasuranga

Hello @shalithasuranga

For everyone, I created a project yesterday with neu create. I expected to find neutralino.d.ts in the resources folder. This allows you to have typechecking when editing main.js,

corbane avatar Dec 04 '21 09:12 corbane

Ah got it .. nice idea. Yeah it will be helpful for devs who use Angular etc also guess

shalithasuranga avatar Dec 04 '21 09:12 shalithasuranga

do we still have this in the picture? If yes, should I move ahead for the same? If no, can we mark this as stale?

cc @shalithasuranga

YashKumarVerma avatar Apr 03 '22 20:04 YashKumarVerma

I threw together a fix for this in #219 . I'm not familar with this codebase though, so I'd like feedback on how/whether to make it opt-in.

alsuren avatar Aug 20 '23 15:08 alsuren