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}`, }), });