dsherret / dsherret/ts-morph

how get the contest when using sourceFile.transform ? (question)

Open
#1,378 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.