hapijs / cookie

Cookie authentication plugin
Other
229 stars 100 forks source link

Please, provide index.d.ts file in npm to simplify usage of hapi-auth-cookie in TypeScript #161

Closed vguzev closed 5 years ago

Marsup commented 7 years ago

It's been asked a few times across the organization, won't happen, sorry.

vguzev commented 7 years ago

OK, as you wish... but keep in mind that enterprises are using Typescript nowadays. It's almost impossible to use "pure javascript" in huge projects...

Marsup commented 7 years ago

Typescript is still a minority and there are huge projects in pure javascript. Nice troll though...

That said, nothing keeps you from writing definitions, there's even a project dedicated to that, which I'm sure you know if you're actually doing typescript. Do you prefer us to do something we have no clue about or leave this to the typescript community ?

O-Mutt commented 6 years ago

@vguzev @Marsup I've taken a swing at the index.d.ts.

I would appreciate feedback from all involved.

Please and thanks!

Mutmatt/DefinitelyTyped#hapi-auth-cookie

Direct Link to hapi-auth-cookie folder

lock[bot] commented 4 years ago

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.