hapijs / glue

Server composer for hapi.js
Other
245 stars 62 forks source link

Add typescript type definitions #136

Closed svallory closed 4 years ago

svallory commented 4 years ago

For people using Typescript it would be awesome to get IDE help and type checks when writing manifests. I know there's a @types/hapi__glue package, but officially supporting it would mean it's always up-to-date with the latest version of glue

Nargonath commented 4 years ago

There is an ongoing project in the organization to bring TypeScript definition to every project. Right now Eran is trying to finance such effort through a crowdfunding campaign: https://www.gofundme.com/f/hapi-ts. As you seem to care about it, perhaps consider asking your employer to participate. Individual participations are also welcomed of course.

Merry Christmas. :christmas_tree:

hueniverse commented 4 years ago

This will happen over time based on available resources. Closing as it is tracked as part of a larger effort.