Skip to content

Commit

Permalink
Mark Property as internal
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperisager committed Oct 2, 2020
1 parent 6057a22 commit 2db1ec7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/alfa-style/src/property.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ import * as parser from "@siteimprove/alfa-parser";
import { Style } from "./style";
import { Value } from "./value";

/**
* @internal
*/
export class Property<T = unknown, U = T> {
public static of<T, U>(
initial: U,
Expand Down Expand Up @@ -53,6 +56,9 @@ export class Property<T = unknown, U = T> {
}
}

/**
* @internal
*/
export namespace Property {
export interface Options {
readonly inherits: boolean;
Expand Down Expand Up @@ -129,6 +135,9 @@ export namespace Property {
}
}

/**
* @internal
*/
export namespace Property {
export class Shorthand<N extends Name = never> {
public static of<N extends Name>(
Expand Down Expand Up @@ -222,6 +231,9 @@ const Shorthands = {
overflow: Overflow.Shorthand,
};

/**
* @internal
*/
export namespace Property {
export type Name = keyof Longhands;

Expand All @@ -236,6 +248,9 @@ export namespace Property {
}
}

/**
* @internal
*/
export namespace Property {
export namespace Shorthand {
export type Name = keyof Shorthands;
Expand Down

0 comments on commit 2db1ec7

Please sign in to comment.