From 49ab9fc0dbec070428fb4109717f4b74fda141ff Mon Sep 17 00:00:00 2001 From: Bruno Lemos Date: Sat, 20 Jan 2018 16:11:24 -0200 Subject: [PATCH] [react-native] Improve DatePickerIOS minuteInterval typing --- types/react-native/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 86cd2c59f4..48f09a9090 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -2477,7 +2477,7 @@ export interface DatePickerIOSProperties extends ViewProperties { * enum(1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30) * The interval at which minutes can be selected. */ - minuteInterval?: number; + minuteInterval?: 1 | 2 | 3 | 4 | 5 | 6 | 10 | 12 | 15 | 20 | 30; /** * enum('date', 'time', 'datetime')