Skip to content

Commit

Permalink
Fix t3env
Browse files Browse the repository at this point in the history
  • Loading branch information
colinhacks committed Apr 22, 2024
1 parent c340558 commit ef588d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deno/lib/helpers/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export namespace objectUtil {
type requiredKeys<T extends object> = {
[k in keyof T]: undefined extends T[k] ? never : k;
}[keyof T];
export type addQuestionMarks<T extends object> = {
export type addQuestionMarks<T extends object, _O = any> = {
[K in requiredKeys<T>]: T[K];
} & {
[K in optionalKeys<T>]?: T[K];
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export namespace objectUtil {
type requiredKeys<T extends object> = {
[k in keyof T]: undefined extends T[k] ? never : k;
}[keyof T];
export type addQuestionMarks<T extends object> = {
export type addQuestionMarks<T extends object, _O = any> = {
[K in requiredKeys<T>]: T[K];
} & {
[K in optionalKeys<T>]?: T[K];
Expand Down

0 comments on commit ef588d0

Please sign in to comment.