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.
1 parent c1071ec commit a576ce6Copy full SHA for a576ce6
javascript/src/ParameterType.ts
@@ -10,8 +10,8 @@ interface Constructor<T> extends Function {
10
11
type Factory<T> = (...args: unknown[]) => T
12
13
-type Regexps = StringOrRegExp | readonly StringOrRegExp[]
14
-type StringOrRegExp = string | RegExp
+export type Regexps = StringOrRegExp | readonly StringOrRegExp[]
+export type StringOrRegExp = string | RegExp
15
16
export default class ParameterType<T> {
17
private transformFn: (...match: readonly string[]) => T | PromiseLike<T>
0 commit comments