-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Circular references in typing #253
Comments
That one is unfixable. |
Weel it is actually fixable in case i'll change the behaviour and make only one level of array nesting possible. |
Looks like typing circular references came in TS 3.7
microsoft/TypeScript#33050
Some other ways
https://stackoverflow.com/questions/36966444/how-to-create-a-circularly-referenced-type-in-typescript
… On 8 Nov 2020, at 20:14, Anton Zinovyev ***@***.***> wrote:
Weel it is actually fixable in case i'll change the behaviour and make only one level of array nesting possible.
Because i've made the library to be a drop-in replacement of classnames, which supports any level of array nesting, i've left that behavior, but if judge sanity-wise - there is no sence: i've never had nested array-classlist for last 3 years im using classnames building libraries.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Silly me, I should have checked |
We use dts-bundle-generator and running
dts-bundle-generator --out-file dist/bundle.d.ts src/main.ts
results in errors around circular dependencies in the types:The text was updated successfully, but these errors were encountered: