Arrow function

This commit is contained in:
Nathan Bierema 2020-08-16 01:11:53 -04:00
parent 9301ea438d
commit eee6c6338f

View File

@ -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;
}