[cucumber] replace StepDefinitionParam with any

Fixes #19831.
This commit is contained in:
Romke van der Meulen
2017-11-13 11:23:28 +01:00
parent bf47dab3b5
commit 1424fbdf29
+1 -3
View File
@@ -23,9 +23,7 @@ export interface TableDefinition {
hashes(): Array<{ [colName: string]: string }>;
}
export type StepDefinitionParam = string | number | CallbackStepDefinition | TableDefinition;
export type StepDefinitionCode = (this: World, ...stepArgs: StepDefinitionParam[]) => PromiseLike<any> | any | void;
export type StepDefinitionCode = (this: World, ...stepArgs: any[]) => PromiseLike<any> | any | void;
export interface StepDefinitionOptions {
timeout?: number;