rkusa/koa-passport

Declaration files Typescript

arcanewater opened this issue · 6 comments

Has anyone worked with Typescript 2? And are there maybe any plans to write declaration files for koa-passport?

rkusa commented

I haven't worked with Typescript. Does passport (since koa-passport is more or less just a wrapper) provide such files?

rkusa commented

It would be necessary to also have such files for all the passport strategies used, wouldn't it?

Most of types are already here for example local: https://www.npmjs.com/package/@types/passport-local. So i think only need there should be function which are not passport func.

Its done, one guy already pushed it to DefinitlyTyped