diff --git a/types/spectacle/index.d.ts b/types/spectacle/index.d.ts index 621f08f67e..df79658c76 100644 --- a/types/spectacle/index.d.ts +++ b/types/spectacle/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Spectacle 5.2.2 +// Type definitions for Spectacle 5.3.0 // Project: https://github.com/FormidableLabs/spectacle // Definitions by: Zachary Maybury // Kylie Stewart @@ -164,6 +164,7 @@ declare module "spectacle" { controls?: boolean; globalStyles?: boolean; history?: any; // Needs a type, see https://github.com/ReactTraining/history + onStateChange?: (previousState?: string, nextState?: string) => void progress?: progressType; theme?: Theme; transition?: transitionType[]; @@ -229,6 +230,7 @@ declare module "spectacle" { notes?: string; onActive?: (slideIndex: string | number) => void; slideIndex?: number; + state?: string; transition?: transitionType[]; transitionDuration?: number; transitionIn?: transitionType[];