typescript-transformer-handbook
typescript-transformer-handbook copied to clipboard
📘 A comprehensive handbook on how to create transformers for TypeScript with code examples
Improvements
General discussion about what more to add and todo items - TODO items - - [x] Check if an identifier is referenced - [ ] Is there a way to...
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
How can I share a custom argument from a user's `tsconfig.json` to my custom plugin? To install a plugin we do: ```json { "compilerOptions": { "plugins": [ { "name": "typescript-my-plugin"...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [set-getter](https://github.com/doowb/set-getter) from 0.1.0 to 0.1.1. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Hey! I have a really general question which I need to ask providing an example. Let's assume we add some kind of function with the typescript transformer. - `function whatever()...
Hello, I've been trying to implement the `following imports` section this so I can get all interface types from all files. The currently example seems to be broken since using...
https://medium.com/@Quramy/manipulate-comments-with-typescript-api-73d5f1d43d7f Just leaving this here as a reference for future work.
I'm frequently working with symbolic mathematical expressions. Sadly, JavaScript doesn't support operator overloading, so I have to write a lot of ugly code like `add(u, mul(2, v))`. I would love...
Hey! Let's assume that I want to modify specific classes with my custom typescript transformer. The actual use case does not matter for this question but e.g. changing all method...