From eee6c6338fb6d2ba6d4c0b5f567783d8cbec4f30 Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Sun, 16 Aug 2020 01:11:53 -0400 Subject: [PATCH] Arrow function --- packages/react-base16-styling/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-base16-styling/src/index.ts b/packages/react-base16-styling/src/index.ts index ad2c3105..382fcec3 100644 --- a/packages/react-base16-styling/src/index.ts +++ b/packages/react-base16-styling/src/index.ts @@ -38,10 +38,10 @@ const merger = (styling: Styling) => { }); }; -const mergeStyling = function mergeStyling( +const mergeStyling = ( customStyling: StylingValue, defaultStyling: StylingValue -): StylingValue | undefined { +): StylingValue | undefined => { if (customStyling === undefined) { return defaultStyling; }