diff --git a/react-select/react-select-tests.ts b/react-select/react-select-tests.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/react-select/react-select-tests.tsx b/react-select/react-select-tests.tsx
new file mode 100644
index 0000000000..024761fe87
--- /dev/null
+++ b/react-select/react-select-tests.tsx
@@ -0,0 +1,29 @@
+
+///
+///
+///
+
+import * as React from "react"
+import * as ReactDOM from "react-dom"
+
+import Select from "react-select"
+
+class SelectTest extends React.Component, {}> {
+
+ render() {
+ return
+
+
+ }
+
+}
+
+class SelectAsyncTest extends React.Component, {}> {
+
+ render() {
+ return
+
+
+ }
+
+}
diff --git a/react-select/react-select.d.ts b/react-select/react-select.d.ts
index ee365fe9ba..60e6bff5f7 100644
--- a/react-select/react-select.d.ts
+++ b/react-select/react-select.d.ts
@@ -6,19 +6,19 @@
///
// Typings for https://github.com/JedWatson/react-select
-//***Usage***
-// import ReactSelect = require('react-select');
-//
-
+//***Usage***
+// import ReactSelect = require('react-select');
+//
+
declare module "react-select" {
- // Import React
+ // Import React
import React = require("react");
-
+
interface Option{
label : string;
value : string;
}
-
+
interface ReactSelectProps extends React.Props{
addLabelText? : string;
allowCreate? : boolean;
@@ -58,10 +58,23 @@ declare module "react-select" {
valueKey? : string;
valueRenderer? : ()=>void;
}
-
+
+ interface ReactAsyncSelectProps extends React.Props{
+ cache? : any;
+ loadOptions? : ()=>void;
+ ignoreAccents? : boolean;
+ isLoading? : boolean;
+ loadingPlaceholder? : string;
+ }
+
interface ReactSelect extends React.ReactElement { }
interface ReactSelectClass extends React.ComponentClass{}
- var ReactSelect: ReactSelectClass;
- export = ReactSelect;
-
-}
\ No newline at end of file
+
+ interface SelectWithAsync extends ReactSelectClass {
+ Async? : ReactAsyncSelectProps;
+ }
+
+ var ReactSelect: SelectWithAsync;
+
+ export default ReactSelect;
+}