Skip to content

Commit a576ce6

Browse files
committed
Export the new types
1 parent c1071ec commit a576ce6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/src/ParameterType.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ interface Constructor<T> extends Function {
1010

1111
type Factory<T> = (...args: unknown[]) => T
1212

13-
type Regexps = StringOrRegExp | readonly StringOrRegExp[]
14-
type StringOrRegExp = string | RegExp
13+
export type Regexps = StringOrRegExp | readonly StringOrRegExp[]
14+
export type StringOrRegExp = string | RegExp
1515

1616
export default class ParameterType<T> {
1717
private transformFn: (...match: readonly string[]) => T | PromiseLike<T>

0 commit comments

Comments
 (0)