From 2f16c8ae7e781c890fa7f52206babda099a581c3 Mon Sep 17 00:00:00 2001 From: velveret Date: Tue, 19 Jul 2016 17:16:17 -0700 Subject: [PATCH] Fix react-select definition for filterOptions (#10109) --- react-select/react-select-tests.tsx | 27 +++++++++++++++++++++++++++ react-select/react-select.d.ts | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/react-select/react-select-tests.tsx b/react-select/react-select-tests.tsx index acd84badba..880aacae42 100644 --- a/react-select/react-select-tests.tsx +++ b/react-select/react-select-tests.tsx @@ -1,7 +1,9 @@ +/// /// /// /// +import * as _ from "lodash"; import * as React from "react"; import * as ReactDOM from "react-dom"; @@ -61,6 +63,30 @@ const CustomValue = React.createClass({ } }); +const filterOptions = (options: Array