mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 09:01:45 +08:00
[react-native] Improve DatePickerIOS minuteInterval typing
This commit is contained in:
2
types/react-native/index.d.ts
vendored
2
types/react-native/index.d.ts
vendored
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user