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
@fatcerberus that does look like the same issue. But I'm not clear on why lib/a/x/d.ts outputs a path="..." directive while lib/a/b/x.d.ts outputs a types="..." directive?
icholy
changed the title
Incorrect tripple-slash directive in sub-directory
Inconsistent tripple-slash directive in sub-directory
Jan 2, 2024
π Search Terms
tripple-slash directives references
π Version & Regression Information
v4.x did not emit these directives at all.
β― Playground Link
https://github.com/icholy/tsc-tripple-slash-bug
π» Code
src/types/fs.ts
src/a/x.ts
src/a/b/x.ts
π Actual behavior
Emitted files:
lib/a/x.d.ts
lib/a/b/x.d.ts
(usingtypes
instead ofpath
).π Expected behavior
Emitted files:
lib/a/x.d.ts
lib/a/b/x.d.ts
Additional information about the issue
This seems to be related to module resolution.
The text was updated successfully, but these errors were encountered: