Replies: 1 comment
-
What I usually do is to break the circular type dependency by creating a third file with the type definitions and requiring it from both using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have 2 scripts. They both depend on each others' types but only one depends on the other in practice
Because of this I am constantly fighting unnecessary circular dependency errors and it's driving me insane
Is there any way to handle this?
Beta Was this translation helpful? Give feedback.
All reactions