Types: refactored working with TypeScript API description.
8 files changed