sjmeverett / express-decorators

ES2015 decorators for express
45 stars 9 forks source link

TypeScript definitions? #3

Closed nmobregon closed 8 years ago

nmobregon commented 8 years ago

Hi, typescript newbie here. I'm trying to use the module in my nodejs+expressjs+typescript backend app and it seems I need to install the reference via tsd install to make it work. Right? Or am I missing something? Because when I compile my project, I get this

app/app.ts(8,23): error TS2307: Cannot find module 'express-decorators/load'.

I fully understand this is a ES6 module, but it seems really useful for my case too.

Thanks in advance!

sjmeverett commented 8 years ago

Hi sorry for the delay. I'm afraid I know next to nothing about typescript.

miguelcobain commented 8 years ago

I'm also interested in this. I'll try to take a stab and make a PR.