Errors in TypeScript typings

I found some errors in TypeScript typings:

https://snippet.webix.com/kuzuvc40

How to fix with them?