From 99a2925b665e2484571d19b682f1bd5e6a875264 Mon Sep 17 00:00:00 2001 From: llwwbb Date: Thu, 30 Aug 2018 00:04:51 +0800 Subject: [PATCH] fix(alert): type and name props are optional (#14815) --- core/src/components/alert/alert-interface.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/components/alert/alert-interface.ts b/core/src/components/alert/alert-interface.ts index 4a8c7b209c..4afcd935a1 100644 --- a/core/src/components/alert/alert-interface.ts +++ b/core/src/components/alert/alert-interface.ts @@ -17,8 +17,8 @@ export interface AlertOptions { } export interface AlertInput { - type: TextFieldTypes | 'checkbox' | 'radio'; - name: string; + type?: TextFieldTypes | 'checkbox' | 'radio'; + name?: string; placeholder?: string; value?: string; label?: string;