diff options
author | Casper Beyer <caspervonb@pm.me> | 2021-05-20 00:41:36 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-19 18:41:36 +0200 |
commit | df7639c09664207df4aeb1e66e4bad405eed8cc3 (patch) | |
tree | 9c5d36efe9363d9e055d6be43b1f4fc39eb16728 /cli/dts/lib.deno.unstable.d.ts | |
parent | ba09ce0729d3ac4e618ba95e6e0d43fb7f3316fa (diff) |
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.
Diffstat (limited to 'cli/dts/lib.deno.unstable.d.ts')
-rw-r--r-- | cli/dts/lib.deno.unstable.d.ts | 5 |
1 files changed, 1 insertions, 4 deletions
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); |