diff options
Diffstat (limited to 'std/encoding/_yaml/example/sample_document.ts')
-rw-r--r-- | std/encoding/_yaml/example/sample_document.ts | 3 |
1 files changed, 2 insertions, 1 deletions
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<string, any>; console.log(obj); let i = 0; |