1
0
mirror of https://github.com/microsoft/TypeScript-Node-Starter.git synced 2026-03-22 06:57:19 +00:00
Commit Graph

10 Commits

Author SHA1 Message Date
CarlosK
1098943419 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
2019-09-29 12:31:07 +02:00
Peter Blazejewicz
3414ceca45 Migrate TSLint to ESLint. Closes #209
This commit rewrites linting support in the project to be based solely
on the ESLint as advised by the TSLint tool authors:
https://medium.com/palantir/tslint-in-2019-1a144c2317a9

The migration is based on default, recommended settings for TypeScript
in ESLint and is expected to be updated in future to better fit project
goals.

All references has been updated and replaced with relevant ESLint
context:

- dependencies migration from TSLint to ESLint
- VSCode configuration changes to support ESLint exension
- VSCode extensions recommendation changes
- `.eslintrc` and `.eslintignore` configuration files added
- all error level problems in the source files are covered by this
  migration

Thanks!
2019-07-15 23:14:51 +02:00
Orta
c1526a9d9d Merge pull request #138 from KonradLinkowski/master
Changed function expressions declarations from let to const
2019-06-19 14:44:27 -07:00
Orta
ecdf110a90 Merge branch 'master' into refactor-remove-unused-imports 2019-06-19 14:26:30 -07:00
Bowden Kelly
610a8f6365 fix conflicts 2019-05-10 12:37:34 -07:00
Duong Tran
b605e0d3e3 refactor: remove unused imports 2018-12-03 17:45:01 +11:00
Konrad Linkowski
825e497603 Changed function expressions declarations from let to const
Every variable that wouldn't change should be declared as const for safety reasons.
2018-09-24 22:28:19 +02:00
Peter Blazejewicz
1b71586efa Update source and dependency to work with TypeScript 2.7. Closes #81
The commit brings compatibility with new features introduced in TypeScript 2.7.
The one with most impact on this project is ES6/ECMAScript module compatibility layer
added in 2.7 enabled in tsconfig.json for this project.
This allowed to rewrite source files to use shorted, better imports everywhere and
also use default exports.

To make project more aligned with updated TypeScript all the NPM depenendencies has been
updated making sure that everything works as expected and tests pass.

Thanks for the project!

Thanks!
2018-02-20 22:02:53 +01:00
xiangxiang
9ed0760ae9 fit error TS2559: Type '4' has no properties in common with type 'MinMaxOptions'.
fix err TypeScript-Node-Starter/src/controllers/api.ts[6, 9]: missing whitespace, 8 files
fix bugs of issue 15
2017-07-19 20:36:10 +08:00
Bowden Kelly
6625b87b19 initial commit 2017-05-09 13:28:09 -07:00