From 4a217fa52e77aeb5c114830f526528ff893c78d7 Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Sat, 7 May 2022 16:09:08 -0400 Subject: [PATCH] Fix build --- packages/react-base16-styling/src/index.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/react-base16-styling/src/index.ts b/packages/react-base16-styling/src/index.ts index 6a5cfa15..6bc86ba5 100644 --- a/packages/react-base16-styling/src/index.ts +++ b/packages/react-base16-styling/src/index.ts @@ -3,6 +3,7 @@ import { Base16Theme } from 'base16'; import Color from 'color'; import * as CSS from 'csstype'; import curry from 'lodash.curry'; +import type { CurriedFunction3 } from 'lodash'; import { Color as ColorTuple, yuv2rgb, rgb2yuv } from './colorConverters'; import { Styling, @@ -201,7 +202,12 @@ interface Options { base16Themes?: { [themeName: string]: Base16Theme }; } -export const createStyling = curry< +export const createStyling: CurriedFunction3< + (base16Theme: Base16Theme) => StylingConfig, + Options | undefined, + Theme | undefined, + StylingFunction +> = curry< (base16Theme: Base16Theme) => StylingConfig, Options | undefined, Theme | undefined,