how get the contest when using sourceFile.transform ? (question)
Open
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 238
- Avg merge
- 2m
- Merged PRs (30d)
- 1
Description
> this is a question
some times i wan to the ctx when using sourceFile.transform
for exmaple: context.hoistFunctionDeclaration
> moreover
I hope the author can enable gitHub discussions on this repository
Contributor guide
Research direction
Start by reading the sourceFile.transform API and the TypeScript transform context, focusing on how context.hoistFunctionDeclaration is accessed. Determine whether the transform callback can expose that context, and document a supported usage or a clearly scoped API change; the GitHub Discussions request is separate.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100