From 06ee090da71077db08dc085932f3076d02147676 Mon Sep 17 00:00:00 2001 From: Mil4n0r Date: Fri, 28 Nov 2025 09:13:49 +0100 Subject: [PATCH] Fixed problem with eslint configuration --- packages/lib/eslint.config.mjs | 2 +- packages/lib/src/grid/types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/lib/eslint.config.mjs b/packages/lib/eslint.config.mjs index e7f7cfaea..df2cde4ca 100644 --- a/packages/lib/eslint.config.mjs +++ b/packages/lib/eslint.config.mjs @@ -7,6 +7,6 @@ const __dirname = dirname(__filename); /** @type {import("eslint").Config[]} */ export default [ - { ignores: ["dist/**", "coverage/**", "eslint.config.mjs"] }, + { ignores: ["dist/**", "coverage/**", "eslint.config.mjs", "storybook-static/**"] }, ...libraryConfig({ tsconfigRootDir: __dirname }), ]; diff --git a/packages/lib/src/grid/types.ts b/packages/lib/src/grid/types.ts index 81fb8b58d..3bf02a22c 100644 --- a/packages/lib/src/grid/types.ts +++ b/packages/lib/src/grid/types.ts @@ -15,7 +15,7 @@ type PlaceContentValues = | "stretch"; type PlaceItemsValues = "baseline" | "center" | "end" | "normal" | "start" | "stretch"; type PlaceObject = { - [Property in keyof Type as `${string & Property}${Capitalize}`]: Type[Property]; + [Property in Extract as `${Property}${Capitalize}`]: Type[Property]; }; type PlaceGeneric = | PlaceObject<{ align: PlaceValues; justify?: PlaceValues }, Element>