diff --git a/README.md b/README.md index 65d4f2051..7b313efcb 100644 --- a/README.md +++ b/README.md @@ -344,7 +344,7 @@ These options should be functions which will be used to resolve the import state #### getCustomTransformers | Type | |------| -| ` (program: Program) => { before?: TransformerFactory[]; after?: TransformerFactory[]; } ` | +| ` (program: Program) => { before?: TransformerFactory[]; after?: TransformerFactory[]; afterDeclarations?: TransformerFactory[]; } ` | Provide custom transformers - only compatible with TypeScript 2.3+ (and 2.4 if using `transpileOnly` mode). For example usage take a look at [typescript-plugin-styled-components](https://github.com/Igorbek/typescript-plugin-styled-components) or our [test](test/comparison-tests/customTransformer).