Skip to content

Commit

Permalink
fix typescript:4.4.4 compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny775 committed Oct 25, 2021
1 parent 7dcf956 commit 93fc8db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ type ObjectType<T> = UndefinedToOptional<RemoveIndex<T>> & ExtractIndex<T>;
export const isObject = <T extends {[P in keyof T]: AnyStrictValidator}, UnknownValidator extends AnyStrictValidator | null = null>(props: T, {
extra: extraSpec = null,
}: {
extra?: UnknownValidator,
extra?: UnknownValidator | null,
} = {}) => {
const specKeys = Object.keys(props);

Expand Down

0 comments on commit 93fc8db

Please sign in to comment.