File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ const memoize = require("./util/memoize");
1414/** @typedef {import("./RequestShortener") } RequestShortener */
1515/** @typedef {typeof import("./util/Hash") } Hash */
1616
17- /** @typedef {string | RegExp | string[] | RegExp[] } Matcher */
17+ /** @typedef {string | RegExp | ( string | RegExp) [] } Matcher */
1818/** @typedef {{test?: Matcher, include?: Matcher, exclude?: Matcher } } MatchObject */
1919
2020const ModuleFilenameHelpers = exports ;
Original file line number Diff line number Diff line change @@ -6818,11 +6818,11 @@ declare interface MapOptions {
68186818 module ?: boolean ;
68196819}
68206820declare interface MatchObject {
6821- test ?: string | RegExp | string [ ] | RegExp [ ] ;
6822- include ?: string | RegExp | string [ ] | RegExp [ ] ;
6823- exclude ?: string | RegExp | string [ ] | RegExp [ ] ;
6821+ test ?: string | RegExp | ( string | RegExp ) [ ] ;
6822+ include ?: string | RegExp | ( string | RegExp ) [ ] ;
6823+ exclude ?: string | RegExp | ( string | RegExp ) [ ] ;
68246824}
6825- type Matcher = string | RegExp | string [ ] | RegExp [ ] ;
6825+ type Matcher = string | RegExp | ( string | RegExp ) [ ] ;
68266826
68276827/**
68286828 * Options object for in-memory caching.
You can’t perform that action at this time.
0 commit comments