We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
FilterPattern
1 parent b9fde60 commit 6f21217Copy full SHA for 6f21217
src/types.ts
@@ -62,9 +62,10 @@ export interface UnpluginBuildContext {
62
}
63
64
export type StringOrRegExp = string | RegExp
65
+export type FilterPattern = Arrayable<StringOrRegExp>
66
export type StringFilter =
- | Arrayable<StringOrRegExp>
67
- | { include?: Arrayable<StringOrRegExp>, exclude?: Arrayable<StringOrRegExp> }
+ | FilterPattern
68
+ | { include?: FilterPattern, exclude?: FilterPattern }
69
export interface HookFilter {
70
id?: StringFilter
71
code?: StringFilter
0 commit comments