Skip to content
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

Need ts.Program or Language Service to create CustomTransformers #860

Closed
xiaoxiangmoe opened this issue Oct 21, 2018 · 5 comments
Closed

Comments

@xiaoxiangmoe
Copy link

xiaoxiangmoe commented Oct 21, 2018

Expected Behaviour

getCustomTransformers ( (service.LanguageService) => { before?: TransformerFactory[]; after?: TransformerFactory[]; } )

Actual Behaviour

getCustomTransformers ( () => { before?: TransformerFactory[]; after?: TransformerFactory[]; } )

Steps to Reproduce the Problem

none

Location of a Minimal Repository that Demonstrates the Issue.

none


see awesome-typescript-loader or rollup

@johnnyreilly
Copy link
Member

Hi, I'm not completely clear what the change you're after is? Would you like to submit a PR and we can discuss it further?

@xiaoxiangmoe
Copy link
Author

xiaoxiangmoe commented Oct 21, 2018

@johnnyreilly I need use ts-simple-ast in CustomTransformers and it require using ts.LanguageService

@johnnyreilly
Copy link
Member

Cool - do you want to submit a PR?

@xiaoxiangmoe
Copy link
Author

Ok, I'll do it latter.

@nohira
Copy link

nohira commented Nov 16, 2018

Looking forward to this as I want to use ts-transformer-keys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants