diff options
author | Casper Beyer <caspervonb@pm.me> | 2021-05-20 00:41:36 +0800 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2021-05-31 16:37:31 +0200 |
commit | 3df9f41dfdcdbfa82da0dd758cab132121420e1a (patch) | |
tree | 05c1297cba5f17c6030bdb553a1fc208a29f3474 /cli/dts/lib.deno.unstable.d.ts | |
parent | c5f700ca63a2013e268ee5e71449201fcebbac07 (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); |