Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Jym77 committed Jan 8, 2024
1 parent 4acc1ac commit a12bea0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
8 changes: 5 additions & 3 deletions docs/review/api/alfa-dom.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import { Array as Array_2 } from '@siteimprove/alfa-array';
import { Device } from '@siteimprove/alfa-device';
import * as earl from '@siteimprove/alfa-earl';
import { Equatable } from '@siteimprove/alfa-equatable';
import { Feature } from '@siteimprove/alfa-css-feature';
import { Flags } from '@siteimprove/alfa-flags';
import { Iterable as Iterable_2 } from '@siteimprove/alfa-iterable';
import * as json from '@siteimprove/alfa-json';
import { Map as Map_2 } from '@siteimprove/alfa-map';
import { Media } from '@siteimprove/alfa-media';
import { Option } from '@siteimprove/alfa-option';
import { Predicate } from '@siteimprove/alfa-predicate';
import { Rectangle } from '@siteimprove/alfa-rectangle';
Expand Down Expand Up @@ -492,7 +492,7 @@ export class ImportRule extends ConditionRule<"import"> {
// (undocumented)
static of(href: string, sheet: Sheet, condition?: Option<string>): ImportRule;
// (undocumented)
get queries(): Media.List;
get queries(): Feature.Media.List;
// (undocumented)
get rules(): Iterable<Rule>;
// (undocumented)
Expand Down Expand Up @@ -604,7 +604,7 @@ export class MediaRule extends ConditionRule<"media"> {
// (undocumented)
static of(condition: string, rules: Iterable_2<Rule>): MediaRule;
// (undocumented)
get queries(): Media.List;
get queries(): Feature.Media.List;
// (undocumented)
toJSON(): MediaRule.JSON;
// (undocumented)
Expand Down Expand Up @@ -1118,6 +1118,8 @@ export class SupportsRule extends ConditionRule<"supports"> {
// (undocumented)
static of(condition: string, rules: Iterable<Rule>): SupportsRule;
// (undocumented)
get query(): Option<Feature.Supports.Query>;
// (undocumented)
toJSON(): SupportsRule.JSON;
// (undocumented)
toString(): string;
Expand Down
3 changes: 1 addition & 2 deletions packages/alfa-css-feature/src/supports/feature/property.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ import { Slice } from "@siteimprove/alfa-slice";

import { Feature } from "../../feature";

const { delimited, either, filter, left, map, option, pair, right, separated } =
Parser;
const { delimited, map, option, separated } = Parser;

/**
* @public
Expand Down
4 changes: 1 addition & 3 deletions packages/alfa-css-feature/src/supports/query.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import { Token } from "@siteimprove/alfa-css";
import { Device } from "@siteimprove/alfa-device";
import { None, Option } from "@siteimprove/alfa-option";
import { Parser } from "@siteimprove/alfa-parser";

import * as json from "@siteimprove/alfa-json";
Expand All @@ -10,7 +8,7 @@ import type { Feature } from "../feature";

import { Property } from "./feature";

const { delimited, either, end, left, map, option, pair, right } = Parser;
const { end, left, map } = Parser;

/**
* {@link https://drafts.csswg.org/css-conditional-3/#at-supports}
Expand Down
1 change: 0 additions & 1 deletion packages/alfa-dom/src/style/rule/supports.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Lexer } from "@siteimprove/alfa-css";
import { Feature } from "@siteimprove/alfa-css-feature";
import { Device } from "@siteimprove/alfa-device";
import type { Option } from "@siteimprove/alfa-option";
import { Trampoline } from "@siteimprove/alfa-trampoline";

Expand Down

0 comments on commit a12bea0

Please sign in to comment.