Skip to content

Commit

Permalink
Rename folder to adapters
Browse files Browse the repository at this point in the history
  • Loading branch information
decs committed Jul 9, 2023
1 parent bd27a49 commit aec95c4
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type {Schema} from './adapter';
import type {Schema} from './adapters';

import {wrap} from './adapter';
import {wrap} from './adapters';

export type {Schema} from './adapter';
export type {Schema} from './adapters';
export type Infer<TSchema> = TSchema extends Schema<infer T> ? T : never;

export async function assert<T>(schema: Schema<T>, data: unknown): Promise<T> {
Expand Down

0 comments on commit aec95c4

Please sign in to comment.