Pierre Ayfri
11/03/2022, 3:54 AMcore
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 ?