From 66ade5823fd58a6b08c069bc38c1bd3434e41e9e Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Thu, 10 Nov 2022 09:46:54 +0100 Subject: [PATCH] ts fix --- packages/web/src/icons/expandIcons.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/web/src/icons/expandIcons.ts b/packages/web/src/icons/expandIcons.ts index 3e98f7ce..6a210fcb 100644 --- a/packages/web/src/icons/expandIcons.ts +++ b/packages/web/src/icons/expandIcons.ts @@ -1,7 +1,7 @@ -export function plusExpandIcon(isExpanded) { +export function plusExpandIcon(isExpanded): string { return isExpanded ? 'icon minus-box' : 'icon plus-box'; } -export function chevronExpandIcon(isExpanded) { +export function chevronExpandIcon(isExpanded): string { return isExpanded ? 'icon chevron-down' : 'icon chevron-right'; }