Skip to content

Commit

Permalink
Branded types will not be distinguishable in runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinTail authored May 3, 2024
1 parent 5c45f50 commit 386d471
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ import { clone, mergeDeepRight } from "ramda";
import { ProprietaryKind } from "./proprietary-schemas";

export interface Metadata<T extends z.ZodTypeAny> {
/**
* @todo if the following PR merged, use native branding instead:
* @link https://github.com/colinhacks/zod/pull/2860
* */
kind?: ProprietaryKind;
examples: z.input<T>[];
}
Expand Down

0 comments on commit 386d471

Please sign in to comment.