Kotlin / dukat

Converter of <any kind of declarations> to Kotlin external declarations
557 stars 42 forks source link

fix(#444): add checks for recursive references inside type alias. #448

Closed JSMonk closed 3 years ago

JSMonk commented 3 years ago

The problem was with recursive type alias like this:

type A = { ref: A } | Array<A>

This code became valid from TypeScript 3.7, but there was a problem inside the TypeAliasResolveLowering class with infinite processing of the code.