Skip to content

Commit

Permalink
chore: rebuild api contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
mscharley authored and renovate[bot] committed Oct 6, 2024
1 parent 4675a51 commit f593917
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/generic-type-guard.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const hasOnlyProperties: <V extends object>(props: MappedTypeGuard<V>) =>
export const hasOptionalProperties: <V extends object>(props: MappedTypeGuard<V>) => PartialTypeGuard<object, Partial<V>>;

// @public
export const hasOptionalProperty: <K extends string, V>(property: K, value: TypeGuard<V>) => PartialTypeGuard<object, { [prop in K]?: V | undefined; }>;
export const hasOptionalProperty: <K extends string, V>(property: K, value: TypeGuard<V>) => PartialTypeGuard<object, { [prop in K]?: V; }>;

// @public
export const hasProperties: <V extends object>(props: MappedTypeGuard<V>) => PartialTypeGuard<object, V>;
Expand Down Expand Up @@ -168,7 +168,7 @@ export const isOptional: <T>(tgt: TypeGuard<T>) => TypeGuard<T | undefined>;
export const isRecord: <K extends string, V>(property: K, value: TypeGuard<V>) => TypeGuard<Record<K, V>>;

// @public
export const isSet: <T = unknown>(obj: T) => obj is Diff<T, null | undefined>;
export const isSet: <T = unknown>(obj: T) => obj is Diff<T, undefined | null>;

// @public
export const isSetOf: <T>(tg: TypeGuard<T>) => (o: unknown) => o is Set<T>;
Expand Down

0 comments on commit f593917

Please sign in to comment.