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
In the repo directory, you can fully reproduce by running: pnpm install (to link the packages) pnpm run test
The text was updated successfully, but these errors were encountered:
ericanderson
changed the title
TS 5.5-beta Regression: generated .d.ts is not compatible
TS 5.5.0-beta Regression: generated .d.ts is not compatible
May 28, 2024
🔎 Search Terms
".d.ts", "typeof", "5.5-beta"
🕗 Version & Regression Information
This is a regression from prior versions. You need two packages to reproduce so you can repro here: https://github.com/ericanderson/ts55-beta-regression
Simply changing from 5.4 to 5.5-beta causes
typeof
references to no longer produce proper/compatible .d.ts files.⏯ Playground Link
https://github.com/ericanderson/ts55-beta-regression
💻 Code
dep/src/index.ts
:main/src/index.ts
:🙁 Actual behavior
dep/lib/index.d.ts
🙂 Expected behavior
No errors.
dep/lib/index.d.ts
:Additional information about the issue
In the repo directory, you can fully reproduce by running:
pnpm install
(to link the packages)pnpm run test
The text was updated successfully, but these errors were encountered: