Fix build errors

This commit is contained in:
fragosti
2018-05-22 15:49:03 -07:00
parent b4e1ce59f9
commit 46919ce797
3 changed files with 14 additions and 13 deletions

View File

@@ -29,6 +29,10 @@ declare module 'react-joyride' {
[prop: string]: any;
}
interface StyleOptionsProp {
options: StyleOptions;
}
export interface Props {
steps?: Step[];
beaconComponent?: React.ReactNode;
@@ -37,7 +41,7 @@ declare module 'react-joyride' {
stepIndex?: number;
callback?: (options: any) => void;
debug?: boolean;
styles?: { options: StyleOptions };
styles?: StyleOptionsProp;
}
export interface State {