From 9c75894f268561e78f844f2a8cb5334ab62d3ae9 Mon Sep 17 00:00:00 2001 From: Hugo ESQUIBET Date: Sat, 19 Dec 2015 18:43:58 +0100 Subject: [PATCH] changing the any types to fix build --- react-select/react-select.d.ts | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/react-select/react-select.d.ts b/react-select/react-select.d.ts index 2d8ad8fd3..387b4f832 100644 --- a/react-select/react-select.d.ts +++ b/react-select/react-select.d.ts @@ -16,13 +16,12 @@ declare module "react-select" { interface Option{ label : string; - value : any; + value : string; } interface ReactSelectProps extends React.Props{ addLabelText? : string; allowCreate? : boolean; - asyncOptions? : ()=>any; autoload? : boolean; backspaceRemoves? : boolean; cacheAsyncResults? : boolean; @@ -32,17 +31,17 @@ declare module "react-select" { clearValueText? : string; delimiter? : string; disabled? : boolean; - filterOption? : (option,filterString : string)=>any; - filterOptions? : (options:Array,filterString : string,values : Array)=>any; + filterOption? : (option : Option,filterString : string)=>Option; + filterOptions? : (options:Array