export type * ...
statements in .d.ts
files do not work (5.4 regression)
#58304
Labels
Working as Intended
The behavior described is the intended behavior; this is not a bug
π Search Terms
"ts2339", "export *", ".d.ts", "regression", "5.4", "namespace", "Property does not exist"
π Version & Regression Information
β― Playground Link
(Just found out about Bug Workbench)
π» Code
Bug workbench
Normal filesystem
orig.d.ts
:reexport.d.ts
:consumer.ts
:π Actual behavior
./node_modules/typescript-v5.3.3/bin/tsc --noEmit *.ts
exited without errors./node_modules/typescript-v5.4.2/bin/tsc --noEmit *.ts
emitted error 2339:π Expected behavior
./node_modules/typescript-v5.3.3/bin/tsc --noEmit *.ts
to exit without errors./node_modules/typescript-v5.4.2/bin/tsc --noEmit *.ts
to exit without errorsAdditional information about the issue
I was unable to build versions
5.4.0
and5.4.1
withevery-ts
, and AFAIK, bug workbench doesn't support versions other than the most recent patch version.This change may have happened by 5.4.0 or 5.4.1, but I know it definitely changed between
5.3.3
and5.4.2
.The text was updated successfully, but these errors were encountered: