From c4d5b01acfe0cac31f94743a57e8e619178ba563 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Tue, 25 Aug 2020 09:43:54 +1000 Subject: feat: update to TypeScript 4.0 (#6514) --- std/encoding/_yaml/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'std/encoding/_yaml/utils.ts') 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 { return value !== null && typeof value === "object"; } -- cgit v1.2.3