[Question] typescript path mapping
Open
bug
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 238
- Avg merge
- 2m
- Merged PRs (30d)
- 1
Description
I am just getting started with ts-morph and think that my typescript [path mappings](https://www.typescriptlang.org/docs/handbook/module-resolution.html#path-mapping) are not working for some reason.
Should this work out of the box, or do we need a [custom module mapping](https://ts-morph.com/setup/index#custom-module-resolution)?
If so, are there any examples available?
Contributor guide
Research direction
Start with the TypeScript path mapping documentation and ts-morph's custom module resolution guide, both linked in the issue. Verify whether path mappings work with the default setup or require custom mapping, then document a minimal example and the expected configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100