QuackatronHQ / Gigarepo

Found explicit type declarations JS-0331
Anti-pattern
Major
1 occurrence in this check
Type number trivially inferred from a number literal, remove type annotation
 1export default class Calculator {
 2  static sum(a: number = 0, b: number) { 3    return a + b;
 4  }
 5