summaryrefslogtreecommitdiff
path: root/std/encoding/_yaml/utils.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-08-25 09:43:54 +1000
committerGitHub <noreply@github.com>2020-08-24 19:43:54 -0400
commitc4d5b01acfe0cac31f94743a57e8e619178ba563 (patch)
tree1987fe2e23c4db59a44159f4c7d21ecc61be4ad3 /std/encoding/_yaml/utils.ts
parent9b0f9c876529696c8008dda8b3606e34d3fe98dc (diff)
feat: update to TypeScript 4.0 (#6514)
Diffstat (limited to 'std/encoding/_yaml/utils.ts')
-rw-r--r--std/encoding/_yaml/utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/encoding/_yaml/utils.ts b/std/encoding/_yaml/utils.ts
index e009ae3cf..3d4e48771 100644
--- a/std/encoding/_yaml/utils.ts
+++ b/std/encoding/_yaml/utils.ts
@@ -38,7 +38,7 @@ export function isUndefined(value: unknown): value is undefined {
return value === undefined;
}
-export function isObject(value: unknown): value is object {
+export function isObject(value: unknown): value is Record<string, unknown> {
return value !== null && typeof value === "object";
}