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
Observed Behaviour
When upgrading from inferno 3.10.1 to 4.0.4 in a TypeScript/webpack/awesome-typescript-loader project, the included index.d.ts file declares a dependency on inferno-shared that can't be resolved at compile time, resulting in the following error:
ERROR in [at-loader] ./node_modules/inferno/dist/index.d.ts:8:27
TS2307: Cannot find module 'inferno-shared'.
This comes from index.d.ts:8 in the inferno package:
import{NO_OP}from'inferno-shared';
Expected Current Behaviour
This shouldn't happen.
Inferno Metadata
Linux/Firefox
Workaround
Including inferno-shared 4.0.4 as a devDependency fixes the issue, so I suspect that the problem isn't much deeper than a forgotten dependency declaration somewhere.
The text was updated successfully, but these errors were encountered:
Issue Template
Observed Behaviour
When upgrading from
inferno
3.10.1 to 4.0.4 in a TypeScript/webpack/awesome-typescript-loader project, the includedindex.d.ts
file declares a dependency oninferno-shared
that can't be resolved at compile time, resulting in the following error:This comes from
index.d.ts:8
in theinferno
package:Expected Current Behaviour
This shouldn't happen.
Inferno Metadata
Linux/Firefox
Workaround
Including
inferno-shared
4.0.4 as adevDependency
fixes the issue, so I suspect that the problem isn't much deeper than a forgotten dependency declaration somewhere.The text was updated successfully, but these errors were encountered: