From fb9d0d7372fbdd78de965cc06dc790a1a62fcf28 Mon Sep 17 00:00:00 2001 From: kenve Date: Tue, 24 Apr 2018 23:35:36 +0800 Subject: [PATCH] fix:add the type declaration of the "key" field (#1367) * fix:add the type declaration of the "key" field * change to a optional property and prettier code --- src/components/GlobalFooter/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/GlobalFooter/index.d.ts b/src/components/GlobalFooter/index.d.ts index 85a9ca65..3fa5c423 100644 --- a/src/components/GlobalFooter/index.d.ts +++ b/src/components/GlobalFooter/index.d.ts @@ -1,6 +1,7 @@ import * as React from 'react'; export interface IGlobalFooterProps { links?: Array<{ + key?: string; title: React.ReactNode; href: string; blankTarget?: boolean; -- GitLab