From df7639c09664207df4aeb1e66e4bad405eed8cc3 Mon Sep 17 00:00:00 2001 From: Casper Beyer Date: Thu, 20 May 2021 00:41:36 +0800 Subject: test(cli/dts): typecheck examples in declaration files (#10707) This commits adds two integration tests that typecheck examples in the docstrings in Deno declaration files. --- cli/dts/lib.deno.unstable.d.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'cli/dts/lib.deno.unstable.d.ts') diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts index 480b0ee06..c8e2f4207 100644 --- a/cli/dts/lib.deno.unstable.d.ts +++ b/cli/dts/lib.deno.unstable.d.ts @@ -139,10 +139,7 @@ declare namespace Deno { * // The Deno.core namespace is needed to interact with plugins, but this is * // internal so we use ts-ignore to skip type checking these calls. * // @ts-ignore - * const { - * op_test_sync, - * op_test_async, - * } = Deno.core.ops(); + * const { op_test_sync, op_test_async } = Deno.core.ops(); * * assert(op_test_sync); * assert(op_test_async); -- cgit v1.2.3