From 34c5eb8c5492ddd7a10f0ac52c9de5d1627bfa5f Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Tue, 2 Apr 2019 11:33:46 +0200 Subject: [PATCH 1/2] Update types.d.ts --- types/react-select/lib/types.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/react-select/lib/types.d.ts b/types/react-select/lib/types.d.ts index f27f02a75a..20c93c7f40 100644 --- a/types/react-select/lib/types.d.ts +++ b/types/react-select/lib/types.d.ts @@ -1,4 +1,5 @@ import * as React from 'react'; +import { Props as SelectProps } from './Select'; export type OptionsType = OptionType[]; @@ -48,7 +49,7 @@ export interface CommonProps { isMulti: boolean; options: OptionsType; selectOption: (option: OptionType) => void; - selectProps: any; + selectProps: SelectProps; setValue: (value: ValueType, action: ActionTypes) => void; } From 5318881773f6f7d41a57bf95bd439c2ba6c7480b Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Tue, 2 Apr 2019 12:29:51 +0200 Subject: [PATCH 2/2] Update tslint.json --- types/react-select/tslint.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/types/react-select/tslint.json b/types/react-select/tslint.json index f93cf8562a..a87684c220 100644 --- a/types/react-select/tslint.json +++ b/types/react-select/tslint.json @@ -1,3 +1,6 @@ { - "extends": "dtslint/dt.json" + "extends": "dtslint/dt.json", + "rules": { + "no-null-undefined-union": false + } }