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
After switching to latest Module Federation version (from webpack's built in federation, to module-federation v2), I started seeing various errors related to types, for example
TS Error 2742':' The inferred type of 'testFunction' cannot be named without a reference to '.pnpm/@TanStack+query-core@5.29.0/node_modules/@tanstack/query-core/build/legacy/queryClient-K0zFyarY'. This is likely not portable. A type annotation is necessary.
Federated types created correctly
Describe the bug
Hello,
After switching to latest Module Federation version (from webpack's built in federation, to module-federation v2), I started seeing various errors related to types, for example
TS Error 2742':' The inferred type of 'testFunction' cannot be named without a reference to '.pnpm/@TanStack+query-core@5.29.0/node_modules/@tanstack/query-core/build/legacy/queryClient-K0zFyarY'. This is likely not portable. A type annotation is necessary.
Federated types created correctly
Reproduction
not yet
Used Package Manager
pnpm
System Info
Validations
The text was updated successfully, but these errors were encountered: