From 55f2f3126d56317748e833ccde778eed6824b49d Mon Sep 17 00:00:00 2001 From: Alex Zywiak Date: Mon, 1 Jul 2019 12:11:18 -0600 Subject: [PATCH] [@types-baseui] fix button size interface (#36504) --- types/baseui/baseui-tests.tsx | 3 +++ types/baseui/button/index.d.ts | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/types/baseui/baseui-tests.tsx b/types/baseui/baseui-tests.tsx index 40de1cf8d7..dded2b685b 100644 --- a/types/baseui/baseui-tests.tsx +++ b/types/baseui/baseui-tests.tsx @@ -137,6 +137,9 @@ const NewStyledProgressSteps = styledClick Me; // $ExpectError ; ; // $ExpectError +; +; +; ; ; ; // $ExpectError diff --git a/types/baseui/button/index.d.ts b/types/baseui/button/index.d.ts index 7fa1e7566e..0b0d67afd8 100644 --- a/types/baseui/button/index.d.ts +++ b/types/baseui/button/index.d.ts @@ -10,9 +10,9 @@ export interface KIND { } export interface SIZE { + compact: 'compact'; default: 'default'; - round: 'round'; - square: 'square'; + large: 'large'; } export interface SHAPE {