Last active
March 31, 2019 19:29
-
-
Save longlho/7c5b809cf049f6e33aa39f210fc33ed2 to your computer and use it in GitHub Desktop.
transformer entry point
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function transform(opts: YourTransformerOpts): ts.TransformerFactory<ts.SourceFile> { | |
return ctx => sf => transformNode(sf, opts) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment