Skip to content
This repository has been archived by the owner on Dec 16, 2020. It is now read-only.

Commit

Permalink
typescript update
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanjeev Ghimire committed May 22, 2019
1 parent dffb6b0 commit 096fb48
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 7 deletions.
12 changes: 9 additions & 3 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/package.json
Expand Up @@ -61,6 +61,6 @@
"ts-node": "~5.0.1",
"tslint": "^5.11.0",
"tslint-eslint-rules": "^5.4.0",
"typescript": "~2.7.2"
"typescript": "^3.2.4"
}
}
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -31,6 +31,6 @@
"concurrently": "^3.6.1"
},
"devDependencies": {
"tslint-eslint-rules": "^5.4.0"
"tslint-eslint-rules": "^5.4.0"
}
}
4 changes: 2 additions & 2 deletions server/src/util/Logger.ts
Expand Up @@ -39,14 +39,14 @@ const logger = {
// call either console.log or noop here
// with the console object as the context
// and the new colored args :)
consoleLog.apply(console, args);
consoleLog.apply(console);
},
error(...args: any[]) {
args = colorizeArgsByLogLevel(args, 'error');
// call either console.log or noop here
// with the console object as the context
// and the new colored args :)
consoleError.apply(console, args);
consoleError.apply(console);
},
};

Expand Down

0 comments on commit 096fb48

Please sign in to comment.