From 551d3de5bb31775d5d9a241c55f47905d41c8bc8 Mon Sep 17 00:00:00 2001 From: Eugene Samonenko Date: Sat, 21 Dec 2019 15:17:00 +0200 Subject: [PATCH] (fix): Fixed types for tarnsformPaths plugin --- packages/ts-transform-paths/src/transformPaths.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ts-transform-paths/src/transformPaths.ts b/packages/ts-transform-paths/src/transformPaths.ts index 89448c5..77c3305 100644 --- a/packages/ts-transform-paths/src/transformPaths.ts +++ b/packages/ts-transform-paths/src/transformPaths.ts @@ -34,7 +34,7 @@ export function transformPaths(program?: ts.Program, config: Config = {}) { afterDeclarations( transformationContext: TransformationContext - ): ts.Transformer { + ): ts.Transformer | ts.CustomTransformers { return plugin.before(transformationContext) }, }