From 700e5be8e808d8423e26e4ea6d15d9562657e352 Mon Sep 17 00:00:00 2001 From: Matt Gibbs Date: Thu, 13 Aug 2015 10:54:12 -0400 Subject: [PATCH] Fixed return of addStep addStep returns the Tour for step addition chaining --- tether-shepherd/tether-shepherd.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tether-shepherd/tether-shepherd.d.ts b/tether-shepherd/tether-shepherd.d.ts index 46737222a..b632fb771 100644 --- a/tether-shepherd/tether-shepherd.d.ts +++ b/tether-shepherd/tether-shepherd.d.ts @@ -25,8 +25,8 @@ declare module TetherShepherd { /** * Creates a new Step object with options, and returns the Tour object for convenient chaining when creating multiple steps. If you'd like you can also just pass an options hash which includes id as a key. If the options hash doesn't include an id, one will be generated. You can also pass an existing Step instance rather than options, but note that Shepherd does not support a Step being attached to multiple Tours. */ - addStep(id: string, options: IShepherdTourStepOptions): void; - addStep(id: string, options: IShepherdTourStep): void; + addStep(id: string, options: IShepherdTourStepOptions): IShepherdTour; + addStep(id: string, options: IShepherdTourStep): IShepherdTour; /** * Return a step with a specific id