From a4853eb930d9511fbbef6e918c74ff0a2456547d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rolf=20Christian=20J=C3=B8rgensen?= <114920418+rcj-siteimprove@users.noreply.github.com> Date: Thu, 28 Nov 2024 10:48:57 +0100 Subject: [PATCH] Fix knip warnings --- packages/alfa-style/src/property/mask-origin.ts | 1 + packages/alfa-style/src/property/mask-position.ts | 2 +- packages/alfa-style/src/property/mask-size.ts | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/alfa-style/src/property/mask-origin.ts b/packages/alfa-style/src/property/mask-origin.ts index 607dbff61e..614bc70bc2 100644 --- a/packages/alfa-style/src/property/mask-origin.ts +++ b/packages/alfa-style/src/property/mask-origin.ts @@ -7,6 +7,7 @@ type Computed = Specified; /** * {@link https://developer.mozilla.org/en-US/docs/Web/CSS/mask-origin} + * * @internal */ export default Longhand.of( diff --git a/packages/alfa-style/src/property/mask-position.ts b/packages/alfa-style/src/property/mask-position.ts index 001b76e2f6..35d5a22d18 100644 --- a/packages/alfa-style/src/property/mask-position.ts +++ b/packages/alfa-style/src/property/mask-position.ts @@ -24,7 +24,7 @@ const parse = List.parseCommaSeparated(Position.Component.parseHorizontal); /** * @internal */ -export const initialItem: Computed.Item = Position.Side.of( +const initialItem: Computed.Item = Position.Side.of( Keyword.of("left"), Percentage.of(0), ); diff --git a/packages/alfa-style/src/property/mask-size.ts b/packages/alfa-style/src/property/mask-size.ts index 29a17600e2..e7bd93be45 100644 --- a/packages/alfa-style/src/property/mask-size.ts +++ b/packages/alfa-style/src/property/mask-size.ts @@ -45,7 +45,7 @@ const parseDimension = either(LengthPercentage.parse, Keyword.parse("auto")); /** * @internal */ -export const parse = either( +const parse = either( map( pair( parseDimension, @@ -63,7 +63,7 @@ const parseList = List.parseCommaSeparated(parse); /** * @internal */ -export const initialItem = Tuple.of(Keyword.of("auto"), Keyword.of("auto")); +const initialItem = Tuple.of(Keyword.of("auto"), Keyword.of("auto")); /** * {@link https://developer.mozilla.org/en-US/docs/Web/CSS/background-size}