diff --git a/code/lib/types/src/modules/core-common.ts b/code/lib/types/src/modules/core-common.ts index f16ef638cbf4..7addf01fcb5e 100644 --- a/code/lib/types/src/modules/core-common.ts +++ b/code/lib/types/src/modules/core-common.ts @@ -582,4 +582,4 @@ export interface CoreCommon_StorybookInfo { * const framework: Framework = '@storybook/nextjs'; // valid and will be autocompleted * const framework: Framework = path.dirname(require.resolve(path.join("@storybook/nextjs", "package.json"))) // valid */ -export type CompatibleString = T | (string & Record); +export type CompatibleString = T | (string & {});