angular / ts-api-guardian

MIT License
15 stars 15 forks source link

Updated repo to TypeScript 2.3 #24

Closed devoto13 closed 6 years ago

devoto13 commented 6 years ago
  1. Removes deprecated TSD package and installs type definitions from @types packages.
  2. Updates from TypeScript 2.0 to 2.3 to support keyof syntax. I've tested it against Angular repo and it uncovered another broken public API in platform-browser (see here). This error is fixed when ts-api-guardian from this PR is used.
  3. Added a test that keyof syntax actually works.

Fixes #23

Most of the changes are from clang-format...

devoto13 commented 6 years ago

Closing in favor of #25.