From 91e3ee80a941b57b2824ba9d00216b2bd7ba1698 Mon Sep 17 00:00:00 2001 From: Daniel Perez Alvarez Date: Tue, 13 Aug 2024 08:28:42 -0400 Subject: [PATCH] fix types --- src/types.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/types.ts b/src/types.ts index 6b63131..00e8b80 100755 --- a/src/types.ts +++ b/src/types.ts @@ -1,7 +1,8 @@ import ts, { CompilerOptions, EmitHost, Pattern, SourceFile } from "typescript"; import { PluginConfig } from "ts-patch"; +import { Minimatch } from "minimatch"; + import { HarmonyFactory } from "./harmony"; -import { IMinimatch } from "minimatch"; /* ****************************************************************************************************************** */ // region: TS Types @@ -43,7 +44,7 @@ export interface TsTransformPathsContext { readonly elisionMap: Map>; readonly transformationContext: ts.TransformationContext; readonly rootDirs?: string[]; - readonly excludeMatchers: IMinimatch[] | undefined; + readonly excludeMatchers: Minimatch[] | undefined; readonly outputFileNamesCache: Map; readonly pathsPatterns: readonly (string | Pattern)[] | undefined; readonly emitHost: EmitHost;