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>