1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-24 23:26:50 +02:00

Tools: Apply rule @typescript-eslint/type-annotation-spacing

This commit is contained in:
Laurent Cozic
2020-11-12 19:13:28 +00:00
parent 62feb7ff60
commit d20694e52c
291 changed files with 2205 additions and 2203 deletions

View File

@ -2,16 +2,16 @@ import Logger from '../Logger';
export default class BaseService {
static logger_:Logger = null;
protected instanceLogger_:Logger = null;
static logger_: Logger = null;
protected instanceLogger_: Logger = null;
logger():Logger {
logger(): Logger {
if (this.instanceLogger_) return this.instanceLogger_;
if (!BaseService.logger_) throw new Error('BaseService.logger_ not set!!');
return BaseService.logger_;
}
setLogger(v:Logger) {
setLogger(v: Logger) {
this.instanceLogger_ = v;
}
}