Kotlin / dukat

Converter of <any kind of declarations> to Kotlin external declarations
548 stars 44 forks source link

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

Closed JSMonk closed 2 years ago

JSMonk commented 2 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.