Turbopack can't resolve experimentalDecorators from extended tsconfig #78782
Labels
linear: turbopack
Confirmed issue that is tracked by the Turbopack team.
Turbopack
Related to Turbopack with Next.js.
Link to the code that reproduces this issue
https://github.com/hamidrezahanafi/turbopack-legacy-decorators
To Reproduce
Error: An element descriptor's .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "undefined"
"experimentalDecorators": true
fromtsconfig-base.json
totsconfig.json
Current vs. Expected behavior
Current:
experimentalDecorators
is not resolved from an extended tsconfig json file, also this is not happening without --turboexpected:
experimentalDecorators
can be resolved from any extended tsconfig fileProvide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 24.4.0: Fri Apr 11 18:32:50 PDT 2025; root:xnu-11417.101.15~117/RELEASE_ARM64_T6041 Available memory (MB): 49152 Available CPU cores: 14 Binaries: Node: 22.14.0 npm: 10.9.2 Yarn: 1.22.22 pnpm: N/A Relevant Packages: next: 15.3.1 // No Next.js version data was found. eslint-config-next: N/A react: 19.1.0 react-dom: 19.1.0 typescript: 5.8.3 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Turbopack
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
No response
The text was updated successfully, but these errors were encountered: