You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.
This is more of question than issue. When you generate the .d.ts file you use a lot of tildes in the mosule names, e.g. ~redux-thunk/redux-thunk or even ~redux-thunk~redux/redux
I tried to find the documentation what those tildes represent but I failed. To be hones they are a bit unnerving, when I cannot understand which modules it represents.
For example, which module is actually covered by ~redux-thunk~redux/redux ?
The text was updated successfully, but these errors were encountered:
It's namespacing for dependencies. Not sure what you're asking by "covered", but that path means it's redux-thunk -> redux/redux.d.ts wrapped in a module declaration.
And why is that necessary? Doesn't redux.d.ts define its own dependencies, while redux-thunk as well? It seems that I have several redux typings versions spread across my typings files. Sorry about dumb questions.
You can probably find more detailed answers elsewhere (E.g. #72) but in short - it's the naive NPM v2 solution. Different typings could have slightly differing versions, to flatten it results in all the shortcomings that come with using TSD. Instead, it's easy to implement a naive NPM v2-style algorithm that everyone can use. If someone wants to invest in a v3-style algorithm (E.g. de-duping) that would be amazing, but it's a huge investment and really not that much of a payoff.
This is more of question than issue. When you generate the .d.ts file you use a lot of tildes in the mosule names, e.g.
~redux-thunk/redux-thunk
or even~redux-thunk~redux/redux
I tried to find the documentation what those tildes represent but I failed. To be hones they are a bit unnerving, when I cannot understand which modules it represents.
For example, which module is actually covered by
~redux-thunk~redux/redux
?The text was updated successfully, but these errors were encountered: