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
ludeknovy and Ludek Novy authored Jul 16, 2021
1 parent a3b71ae commit 5c4aa1c
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 @@ -26,6 +26,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 5c4aa1c

Please sign in to comment.