Skip to content

Commit

Permalink
IParameterTypeDefinition fix (#1733)
Browse files Browse the repository at this point in the history
Co-authored-by: Ludek Novy <ludeknovy@fastmail.com>
  • Loading branch information
2 people authored and davidjgoss committed Jul 20, 2021
1 parent 0b585c1 commit 644d19a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Please see [CONTRIBUTING.md](https://github.com/cucumber/cucumber/blob/master/CO

* Prevent duplicate scenario execution where the same feature is targeted in multiple line expressions ([#1706](https://github.com/cucumber/cucumber-js/issues/1706))
* Fixed reports banner to point to [new docs](https://cucumber.io/docs/cucumber/environment-variables/) about environment variables
* IParameterTypeDefinition regexp fix [1702](https://github.com/cucumber/cucumber-js/issues/1702)

## [7.3.0] (2021-06-17)

Expand Down
2 changes: 1 addition & 1 deletion src/support_code_library_builder/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export interface IDefineTestRunHookOptions {

export interface IParameterTypeDefinition<T> {
name: string
regexp: RegExp
regexp: readonly RegExp[] | readonly string[] | RegExp | string
transformer: (...match: string[]) => T
useForSnippets?: boolean
preferForRegexpMatch?: boolean
Expand Down

0 comments on commit 644d19a

Please sign in to comment.