From 012334829e36ea3ee0e668124ef38b8d65b834b7 Mon Sep 17 00:00:00 2001 From: mogusbi-motech Date: Wed, 18 Sep 2024 09:59:34 +0100 Subject: [PATCH] chore: missing type --- packages/project-tailwind/.storybook/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/project-tailwind/.storybook/main.ts b/packages/project-tailwind/.storybook/main.ts index 56826f100..bc3b592c0 100644 --- a/packages/project-tailwind/.storybook/main.ts +++ b/packages/project-tailwind/.storybook/main.ts @@ -5,7 +5,7 @@ import { StorybookConfig } from '@storybook/react-vite'; * This function is used to resolve the absolute path of a package. * It is needed in projects that use Yarn PnP or are set up within a monorepo. */ -function getAbsolutePath(value) { +function getAbsolutePath(value: string) { return dirname(require.resolve(join(value, 'package.json'))); }