1
0
mirror of https://github.com/microsoft/TypeScript-Node-Starter.git synced 2025-11-08 16:17:37 +00:00

Update packages, add tests, add type casts (#229)

- upgrade to latest packages
- cast `req.user` as `UserDocument`
- update logger to use latest Winston syntax
- disable `no-inferrable-types`, Mongoose use unified topology

Thx to @CarlosSolrac
This commit is contained in:
CarlosK
2019-09-29 05:31:07 -05:00
committed by Piotr Błażejewicz (Peter Blazejewicz)
parent 53ccb59f93
commit 1098943419
9 changed files with 1532 additions and 1158 deletions

View File

@@ -9,6 +9,7 @@
"semi": ["error", "always"],
"quotes": ["error", "double"],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-explicit-any": "off"
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-inferrable-types": "off"
}
}