Hi, I have a complex situation of circular depende...
# dependency-management
p
Hi, I have a complex situation of circular dependencies and I need help on how to fix it in some way. I'm creating Kotlin typings for a multi npm package TypeScript library, with one gradle module per npm package. There is the
core
package which is requiring the
utils
package, but the
utils
package uses some types from the
core
package, because in TypeScript you have a
import type
statement that lets you import types from another package, without having to declare this package as a dependency. But for my case, what should I do ? As my Kotlin typings must be equal to the TS typings, and it would be weird to duplicate the imported types (with
import type
) as a solution 🤔 So, what should I do ?