Skip to content

Commit 36d3221

Browse files
authored
fix(ts): improve verbatim option typings (#147)
1 parent 5740658 commit 36d3221

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

typings/index.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ declare module "@godaddy/terminus" {
88
}
99

1010
export type HealthCheckMap = {
11-
verbatim?: boolean;
11+
[key: string]: HealthCheck | boolean;
12+
} | {
13+
verbatim: boolean
1214
[key: string]: HealthCheck | boolean;
1315
}
1416

0 commit comments

Comments
 (0)