express-mongoose-es6-rest-api icon indicating copy to clipboard operation
express-mongoose-es6-rest-api copied to clipboard

Flow

Open javier-tarazaga opened this issue 8 years ago • 7 comments

Hi guys,

Thanks for the project! Really helpful to get started. Quick one though, have you consider adding "Flow" for static type checking?

Thanks!

javier-tarazaga avatar Apr 25 '17 05:04 javier-tarazaga

I would rather prefer Typescript.

osahner avatar Apr 25 '17 17:04 osahner

Yeah typescript would be nice. @osahner does it mean all other third party libs will need type definitions?

okonon avatar May 21 '17 14:05 okonon

No, not at all @okonon. If the lib has some sort of es5 or es6 export you are set (like lodash etc.). Or you can import anything from the lib with import * as express from 'express';. Last resort would be to declare the types declare var $:any;.

osahner avatar May 22 '17 07:05 osahner

Makes sense thanks

okonon avatar May 23 '17 19:05 okonon

Hi guys, I was also working on a Typescript version and based on this great project for purpose learning Typescript, please take a look and give me some feedback when you have chance. https://github.com/ngmikeng/mn-express-typescript-rest-starter

ngmikeng avatar Jul 04 '18 12:07 ngmikeng

I really like what you are doing @ngmikeng !

osahner avatar Jul 04 '18 14:07 osahner

Thanks a lot @osahner ! :smile:

ngmikeng avatar Jul 05 '18 02:07 ngmikeng