aboutsummaryrefslogtreecommitdiffstats
path: root/packages/typescript-typings
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-05-23 06:49:03 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-05-25 01:52:11 +0800
commit46919ce797209aff1f1acd9033f498f9a8d110e3 (patch)
tree735c34529c14326fc5e7f5bd8500d9e8bdc7cca1 /packages/typescript-typings
parentb4e1ce59f9d5500667228f4ab1a2c9c4ca087ca7 (diff)
downloaddexon-0x-contracts-46919ce797209aff1f1acd9033f498f9a8d110e3.tar
dexon-0x-contracts-46919ce797209aff1f1acd9033f498f9a8d110e3.tar.gz
dexon-0x-contracts-46919ce797209aff1f1acd9033f498f9a8d110e3.tar.bz2
dexon-0x-contracts-46919ce797209aff1f1acd9033f498f9a8d110e3.tar.lz
dexon-0x-contracts-46919ce797209aff1f1acd9033f498f9a8d110e3.tar.xz
dexon-0x-contracts-46919ce797209aff1f1acd9033f498f9a8d110e3.tar.zst
dexon-0x-contracts-46919ce797209aff1f1acd9033f498f9a8d110e3.zip
Fix build errors
Diffstat (limited to 'packages/typescript-typings')
-rw-r--r--packages/typescript-typings/types/react-joyride/index.d.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/typescript-typings/types/react-joyride/index.d.ts b/packages/typescript-typings/types/react-joyride/index.d.ts
index a0cd6a1e8..3aa5852f7 100644
--- a/packages/typescript-typings/types/react-joyride/index.d.ts
+++ b/packages/typescript-typings/types/react-joyride/index.d.ts
@@ -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 {