summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2021-05-11 13:42:26 +0800
committerGitHub <noreply@github.com>2021-05-11 14:42:26 +0900
commit576f14baebae5c86b4d07722cd68de2a4c8f4790 (patch)
treecdab4d100c3157876c9992c8157131782f0202d0
parent2aa45f880ed1a970324214bb3cee098d98453104 (diff)
docs(cli/dts): fix Deno.test permission examples (#10571)
-rw-r--r--cli/dts/lib.deno.unstable.d.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts
index 14c7a36dd..f8b55f87c 100644
--- a/cli/dts/lib.deno.unstable.d.ts
+++ b/cli/dts/lib.deno.unstable.d.ts
@@ -1230,7 +1230,7 @@ declare namespace Deno {
* const status = await Deno.permissions.query({ name: "net" })
* assertEquals(status.state, "granted");
* },
- * };
+ * });
* ```
*
* ```ts
@@ -1243,7 +1243,7 @@ declare namespace Deno {
* const status = await Deno.permissions.query({ name: "net" });
* assertEquals(status.state, "granted");
* },
- * };
+ * });
* ```
*
* ```ts
@@ -1256,7 +1256,7 @@ declare namespace Deno {
* const status = await Deno.permissions.query({ name: "net" });
* assertEquals(status.state, "denied");
* },
- * };
+ * });
* ```
*
* ```
@@ -1269,7 +1269,7 @@ declare namespace Deno {
* const status = await Deno.permissions.query({ name: "net", host: "localhost:8080" });
* assertEquals(status.state, "granted");
* },
- * };
+ * });
* ```
*/
net?: "inherit" | boolean | string[];