-
-
Notifications
You must be signed in to change notification settings - Fork 375
Open
Description
Describe the bug
Describe the bug
I am getting typescript error (TS1005) while using @module-federation/bridge-react.
Error:
ERROR in node_modules/@module-federation/bridge-react/dist/index.d.ts 270:155-156
[tsl] ERROR innode_modules/@module-federation/bridge-react/dist/index.d.ts(270,156)
TS1005: '(' expected.
ERROR in /node_modules/@module-federation/bridge-react/dist/index.d.ts 270:156-157
[tsl] ERROR in /node_modules/@module-federation/bridge-react/dist/index.d.ts(270,157)
TS1109: Expression expected.
Node: v22.14
Typescript: v5
webpack: v5
Screenshot attached.
Reproduction
Use @module-federation/bridge-react' with strict type check tsconfig or with ts-loader with default options
Used Package Manager
yarn
System Info
OS: macOS 15.6.1
CPU: (8) arm64 Apple M3
Memory: 90.64 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.14.0 - ~/.nvm/versions/node/v22.14.0/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v22.14.0/bin/yarn
npm: 10.9.2 - ~/.nvm/versions/node/v22.14.0/bin/npm
Browsers:
Chrome: 143.0.7499.147
Safari: 18.6Validations
- Read the docs.
- Read the common issues list.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Module federation issue and not a framework-specific issue.
- The provided reproduction is a minimal reproducible example of the bug.
mukulbirdeye, soumyabrataMajumder, Manjari24-k, Ritiksbe and Sukhjinder-234
Metadata
Metadata
Assignees
Labels
No labels
