Skip to content

Commit 91e3ee8

Browse files
committed
fix types
1 parent d843ecc commit 91e3ee8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/types.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import ts, { CompilerOptions, EmitHost, Pattern, SourceFile } from "typescript";
22
import { PluginConfig } from "ts-patch";
3+
import { Minimatch } from "minimatch";
4+
35
import { HarmonyFactory } from "./harmony";
4-
import { IMinimatch } from "minimatch";
56

67
/* ****************************************************************************************************************** */
78
// region: TS Types
@@ -43,7 +44,7 @@ export interface TsTransformPathsContext {
4344
readonly elisionMap: Map<ts.SourceFile, Map<ImportOrExportDeclaration, ImportOrExportDeclaration>>;
4445
readonly transformationContext: ts.TransformationContext;
4546
readonly rootDirs?: string[];
46-
readonly excludeMatchers: IMinimatch[] | undefined;
47+
readonly excludeMatchers: Minimatch[] | undefined;
4748
readonly outputFileNamesCache: Map<SourceFile, string>;
4849
readonly pathsPatterns: readonly (string | Pattern)[] | undefined;
4950
readonly emitHost: EmitHost;

0 commit comments

Comments
 (0)