From c7f7ace3099c21cdd8a49b20adf73a2513d1651d Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Thu, 21 Oct 2021 14:06:36 -0400 Subject: [PATCH] Fix --- packages/react-base16-styling/test/index.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/react-base16-styling/test/index.test.ts b/packages/react-base16-styling/test/index.test.ts index 5f765a5d..94360afd 100644 --- a/packages/react-base16-styling/test/index.test.ts +++ b/packages/react-base16-styling/test/index.test.ts @@ -70,8 +70,8 @@ const getStylingFromBase16 = (base16: Base16Theme): StylingConfig => ({ testStyle: { color: base16.base00, }, - testFunc: ({ style }, arg: string) => ({ - className: `testClass--${arg}`, + testFunc: ({ style }, arg) => ({ + className: `testClass--${arg as string}`, style: { ...style, width: 0, @@ -84,8 +84,8 @@ const getStylingFromBase16 = (base16: Base16Theme): StylingConfig => ({ additionalStyle: { border: 0, }, - testFuncNoStyle: (_, arg: string) => ({ - className: `testClass--${arg}`, + testFuncNoStyle: (_, arg) => ({ + className: `testClass--${arg as string}`, }), });