From 4f245aafeb6c138804f25e20b03e10f8f9754038 Mon Sep 17 00:00:00 2001 From: Marcel Ernst Date: Thu, 17 Dec 2015 15:54:50 +0100 Subject: [PATCH] Fix type for DatePickerProps formatDate --- material-ui/material-ui.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/material-ui/material-ui.d.ts b/material-ui/material-ui.d.ts index 2c59d5416b..4b46cee7b8 100644 --- a/material-ui/material-ui.d.ts +++ b/material-ui/material-ui.d.ts @@ -319,7 +319,7 @@ declare namespace __MaterialUI { interface DatePickerProps extends React.Props { autoOk?: boolean; defaultDate?: Date; - formatDate?: string; + formatDate?: (date:Date) => string; hintText?: string; floatingLabelText?: string; hideToolbarYearChange?: boolean;