Skip to content

Commit

Permalink
fix(types): use {} instead of Partial (#2305)
Browse files Browse the repository at this point in the history
* fix(types): use `{}` instead of Partial

* denoify
  • Loading branch information
yusukebe authored Mar 3, 2024
1 parent 34fb36e commit fc505ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions deno_dist/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ export type Env = {
export type Next = () => Promise<void>

export type Input = {
in?: Partial<ValidationTargets>
out?: Partial<{ [K in keyof ValidationTargets]: unknown }>
in?: {}
out?: {}
}

export type BlankSchema = {}
Expand Down
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ export type Env = {
export type Next = () => Promise<void>

export type Input = {
in?: Partial<ValidationTargets>
out?: Partial<{ [K in keyof ValidationTargets]: unknown }>
in?: {}
out?: {}
}

export type BlankSchema = {}
Expand Down

0 comments on commit fc505ba

Please sign in to comment.