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
We're building our project which has skipLibCheck:false in one of our build steps.
In that process, build fails with the following TS errors:
webiny error: ../../node_modules/@rspack/binding/binding.d.ts(172,7): error TS2380: The return type of a 'get' accessor must be assignable to its 'set' accessor type
Type 'undefined' is not assignable to type 'string'.
../../node_modules/@rspack/core/dist/config/index.d.ts(5,1): error TS1383: Only named exports may use 'export type'.
../../node_modules/@rspack/core/dist/exports.d.ts(36,1): error TS1383: Only named exports may use 'export type'.
Dug into the code a bit, and for example, for the first TS2380 error, I can see it:
Reproduce link
No response
Reproduce Steps
In our repo, we've run our build process with the skipLibCheck: false in our TS config. With this setting, we can see the above errors.
The text was updated successfully, but these errors were encountered:
System Info
System:
OS: macOS 12.7.6
CPU: (10) arm64 Apple M1 Pro
Memory: 2.82 GB / 32.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 20.18.1 - /usr/local/bin/node
Yarn: 3.6.4 - /opt/homebrew/bin/yarn
npm: 10.2.5 - /opt/homebrew/bin/npm
Browsers:
Brave Browser: 131.1.73.101
Safari: 15.6.1
Details
We're building our project which has
skipLibCheck:false
in one of our build steps.In that process, build fails with the following TS errors:
Dug into the code a bit, and for example, for the first TS2380 error, I can see it:
Reproduce link
No response
Reproduce Steps
In our repo, we've run our build process with the
skipLibCheck: false
in our TS config. With this setting, we can see the above errors.The text was updated successfully, but these errors were encountered: