-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add {root} helper for tsconfig.json (for avoiding multiple ../../) #37227
Labels
Awaiting More Feedback
This means we'd like to hear from more people who would be helped by this feature
Suggestion
An idea for TypeScript
Comments
What is the "current workspace folder"? How is that determined? |
A lot of packages use similar logic for defining {root} (jest for example) |
5 tasks
I guess this is pretty similar to my new issue #51213, wonder if I should close 51213 in favor of this... (or the other way around) |
6 tasks
Thanks @sheetalkamat for implementing the
Looks like will be a part of TS 5.5: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Awaiting More Feedback
This means we'd like to hear from more people who would be helped by this feature
Suggestion
An idea for TypeScript
Search Terms
helper {root} {workspace} in tsconfig.json
Suggestion
I have the following project structure
I didn't find any path-helper that can replace "../../../" to {root} where the root is the current workspace folder
Use Cases
Avoiding using "../../../" because of this is a headache for refactoring
Examples
Checklist
My suggestion meets these guidelines:
The text was updated successfully, but these errors were encountered: