good.ts 103 B

1234
  1. // good 可以推论出的类型不用手动指定类型
  2. let foo2 = 1;
  3. let bar2 = '';
  4. let baz2 = true;