Skip to content

Commit

Permalink
fix(params): When creating an array parameter from a custom type, cop…
Browse files Browse the repository at this point in the history
…y the `raw` property

Closes #178
  • Loading branch information
christopherthielen committed Jun 10, 2018
1 parent 1e701fd commit b6dd738
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/params/paramType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ function ArrayType(type: ParamType, mode: boolean | 'auto') {
name: type.name,
pattern: type.pattern,
inherit: type.inherit,
raw: type.raw,
is: arrayHandler(type.is.bind(type), true),
$arrayMode: mode,
});
Expand Down

0 comments on commit b6dd738

Please sign in to comment.