Skip to content

Commit

Permalink
feat(types): remove unused types
Browse files Browse the repository at this point in the history
  • Loading branch information
TomokiMiyauci committed Jun 1, 2023
1 parent cbd7e74 commit 64a56bf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export {
} from "./validation.ts";
export {
type Expectation,
type ValidationContext,
ValidationFailure,
type ValidationFailureOptions,
type Validator,
Expand Down
6 changes: 0 additions & 6 deletions types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@ export interface ValidationFailureOptions {
instancePath?: readonly PropertyKey[];
}

/** Validation context API. */
export interface ValidationContext<In = unknown> {
/** The actual input. */
input: In;
}

export interface Expectation<T = unknown> {
expect(message: string): this;
expect(report: (context: T) => string): this;
Expand Down

0 comments on commit 64a56bf

Please sign in to comment.