fix: matcher type
This commit is contained in:
parent
73c20347fe
commit
3b80086b65
|
@ -14,7 +14,7 @@ const memoize = require("./util/memoize");
|
|||
/** @typedef {import("./RequestShortener")} RequestShortener */
|
||||
/** @typedef {typeof import("./util/Hash")} Hash */
|
||||
|
||||
/** @typedef {string | RegExp | string[] | RegExp[]} Matcher */
|
||||
/** @typedef {string | RegExp | (string | RegExp)[]} Matcher */
|
||||
/** @typedef {{test?: Matcher, include?: Matcher, exclude?: Matcher }} MatchObject */
|
||||
|
||||
const ModuleFilenameHelpers = exports;
|
||||
|
|
|
@ -6818,11 +6818,11 @@ declare interface MapOptions {
|
|||
module?: boolean;
|
||||
}
|
||||
declare interface MatchObject {
|
||||
test?: string | RegExp | string[] | RegExp[];
|
||||
include?: string | RegExp | string[] | RegExp[];
|
||||
exclude?: string | RegExp | string[] | RegExp[];
|
||||
test?: string | RegExp | (string | RegExp)[];
|
||||
include?: string | RegExp | (string | RegExp)[];
|
||||
exclude?: string | RegExp | (string | RegExp)[];
|
||||
}
|
||||
type Matcher = string | RegExp | string[] | RegExp[];
|
||||
type Matcher = string | RegExp | (string | RegExp)[];
|
||||
|
||||
/**
|
||||
* Options object for in-memory caching.
|
||||
|
|
Loading…
Reference in New Issue