diff --git a/types/react-select/lib/Async.d.ts b/types/react-select/lib/Async.d.ts index 8acc5532b7..b9c753fa92 100644 --- a/types/react-select/lib/Async.d.ts +++ b/types/react-select/lib/Async.d.ts @@ -6,14 +6,16 @@ import { OptionsType, InputActionMeta } from './types'; export interface AsyncProps { /* The default set of options to show before the user starts searching. When - set to `true`, the results for loadOptions('') will be autoloaded. */ - defaultOptions: OptionsType | boolean; + set to `true`, the results for loadOptions('') will be autoloaded. + Default: false. */ + defaultOptions?: OptionsType | boolean; /* Function that returns a promise, which is the set of options to be used once the promise resolves. */ loadOptions: (inputValue: string, callback: ((options: OptionsType) => void)) => Promise | void; /* If cacheOptions is truthy, then the loaded data will be cached. The cache - will remain until `cacheOptions` changes value. */ - cacheOptions: any; + will remain until `cacheOptions` changes value. + Default: false. */ + cacheOptions?: any; } export type Props = SelectProps & AsyncProps;