0.0.3 • Published 6 years ago

@ibezkrovnyi/tslint-rules v0.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

tslint-rules

currently it contains only one rule:

{
  "no-inferrable-return-types": true
}

which is the same as no-inferrable-types, but for Return Types

example

function sum(a, b): number {
  return a + b;
}

may be safely replaced with

function sum(a, b) {
  return a + b;
}

fix

tslint --fix is available