Skip to content

Commit

Permalink
null type
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzad31 committed May 6, 2020
1 parent 197046a commit 330133e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import * as t from 'io-ts';
export const CheckMonitorType = t.intersection([
t.partial({
name: t.string,
ip: t.union([t.array(t.union([t.string, t.null])), t.string]),
ip: t.union([t.array(t.union([t.string, t.null])), t.string, t.null]),
}),
t.type({
status: t.string,
Expand Down

0 comments on commit 330133e

Please sign in to comment.