https://github.com/Microsoft/TypeScript/issues/19066
UPD: решается путём добавлением assertion condition: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#assertion-functions
Спасибо @sovasergey
Post #83
2.54K
