Skip to content
Permalink
Browse files
fix(screenplay): corrected the Actor class so that it compiles using …
…the new TypeScript compiler

affects: @serenity-js/core

Partially addresses #105
  • Loading branch information
jan-molak committed Jan 21, 2018
1 parent 11948bd commit a212ccb985f8e19c30e582bf7907e7857afa0592
Showing with 1 addition and 1 deletion.
  1. +1 −1 packages/core/src/screenplay/actor.ts
@@ -25,7 +25,7 @@ export interface UsesAbilities {
*
* @param abilities
*/
whoCan<T extends UsesAbilities>(...abilities: Ability[]): T;
whoCan(...abilities: Ability[]): UsesAbilities;

/**
* Grants access to the Actor's ability

0 comments on commit a212ccb

Please sign in to comment.