Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
eryue0220 committed Mar 30, 2024
1 parent f9143f4 commit 32ca1c9
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions expect/_types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,12 @@ export interface EqualOptionUtil extends MatcherContext {
}

export interface Colors {
comment: {close: string; open: string};
content: {close: string; open: string};
prop: {close: string; open: string};
tag: {close: string; open: string};
value: {close: string; open: string};
};
comment: { close: string; open: string };
content: { close: string; open: string };
prop: { close: string; open: string };
tag: { close: string; open: string };
value: { close: string; open: string };
}
type Indent = (arg0: string) => string;
type Print = (arg0: unknown) => string;

Expand All @@ -140,7 +140,7 @@ export interface Config {
printFunctionName: boolean;
spacingInner: string;
spacingOuter: string;
};
}

export type Printer = (
val: unknown,
Expand All @@ -155,7 +155,7 @@ interface PluginOptions {
edgeSpacing: string;
min: boolean;
spacing: string;
};
}

type Test = (arg0: any) => boolean;

Expand All @@ -169,7 +169,7 @@ export interface NewSnapshotPlugin {
printer: Printer,
) => string;
test: Test;
};
}

export interface OldSnapshotPlugin {
print: (
Expand All @@ -180,7 +180,7 @@ export interface OldSnapshotPlugin {
colors: Colors,
) => string;
test: Test;
};
}

export type SnapshotPlugin = NewSnapshotPlugin | OldSnapshotPlugin;

Expand Down

0 comments on commit 32ca1c9

Please sign in to comment.