Skip to content

v3.0.15

Compare
Choose a tag to compare
@arturpimentel arturpimentel released this 03 Apr 18:04
· 1790 commits to master since this release

Changed

  • Added type inference for IOClients.getOrSet method. No need to type instantiations like
export class IOClients {
  public get logger(): Logger {
    return this.getOrSet('logger', Logger)
  }
}

You can just do

export class IOClients {
  public get logger() {
    return this.getOrSet('logger', Logger)
  }
}

instead