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/example/sample_document.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'std/encoding/_yaml/example') diff --git a/std/encoding/_yaml/example/sample_document.ts b/std/encoding/_yaml/example/sample_document.ts index f66b3c417..8ef714d42 100644 --- a/std/encoding/_yaml/example/sample_document.ts +++ b/std/encoding/_yaml/example/sample_document.ts @@ -7,7 +7,8 @@ import { parse } from "../../yaml.ts"; const yml = Deno.readFileSync(`${Deno.cwd()}/example/sample_document.yml`); const document = new TextDecoder().decode(yml); - const obj = parse(document) as object; + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const obj = parse(document) as Record; console.log(obj); let i = 0; -- cgit v1.2.3