summaryrefslogtreecommitdiff
path: root/cli/tsc/dts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tsc/dts')
-rw-r--r--cli/tsc/dts/lib.deno.ns.d.ts62
1 files changed, 31 insertions, 31 deletions
diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts
index ed24736fc..401f9fa97 100644
--- a/cli/tsc/dts/lib.deno.ns.d.ts
+++ b/cli/tsc/dts/lib.deno.ns.d.ts
@@ -544,7 +544,7 @@ declare namespace Deno {
* Examples:
*
* ```ts
- * import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
+ * import { assertEquals } from "https://deno.land/std/assert/mod.ts";
*
* Deno.test({
* name: "inherit",
@@ -559,7 +559,7 @@ declare namespace Deno {
* ```
*
* ```ts
- * import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
+ * import { assertEquals } from "https://deno.land/std/assert/mod.ts";
*
* Deno.test({
* name: "true",
@@ -574,7 +574,7 @@ declare namespace Deno {
* ```
*
* ```ts
- * import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
+ * import { assertEquals } from "https://deno.land/std/assert/mod.ts";
*
* Deno.test({
* name: "false",
@@ -589,7 +589,7 @@ declare namespace Deno {
* ```
*
* ```ts
- * import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
+ * import { assertEquals } from "https://deno.land/std/assert/mod.ts";
*
* Deno.test({
* name: "localhost:8080",
@@ -818,7 +818,7 @@ declare namespace Deno {
* `fn` can be async if required.
*
* ```ts
- * import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
+ * import { assertEquals } from "https://deno.land/std/assert/mod.ts";
*
* Deno.test({
* name: "example test",
@@ -859,7 +859,7 @@ declare namespace Deno {
* `fn` can be async if required.
*
* ```ts
- * import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
+ * import { assertEquals } from "https://deno.land/std/assert/mod.ts";
*
* Deno.test({
* name: "example test",
@@ -896,7 +896,7 @@ declare namespace Deno {
* `fn` can be async if required.
*
* ```ts
- * import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
+ * import { assertEquals } from "https://deno.land/std/assert/mod.ts";
*
* Deno.test("My test description", () => {
* assertEquals("hello", "hello");
@@ -922,7 +922,7 @@ declare namespace Deno {
* `fn` can be async if required. Declared function must have a name.
*
* ```ts
- * import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
+ * import { assertEquals } from "https://deno.land/std/assert/mod.ts";
*
* Deno.test(function myTestName() {
* assertEquals("hello", "hello");
@@ -945,7 +945,7 @@ declare namespace Deno {
* `fn` can be async if required.
*
* ```ts
- * import {assert, fail, assertEquals} from "https://deno.land/std/testing/asserts.ts";
+ * import {assert, fail, assertEquals} from "https://deno.land/std/assert/mod.ts";
*
* Deno.test("My test description", { permissions: { read: true } }, (): void => {
* assertEquals("hello", "hello");
@@ -972,7 +972,7 @@ declare namespace Deno {
* `fn` can be async if required.
*
* ```ts
- * import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
+ * import { assertEquals } from "https://deno.land/std/assert/mod.ts";
*
* Deno.test(
* {
@@ -1010,7 +1010,7 @@ declare namespace Deno {
* `fn` can be async if required. Declared function must have a name.
*
* ```ts
- * import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
+ * import { assertEquals } from "https://deno.land/std/assert/mod.ts";
*
* Deno.test(
* { permissions: { read: true } },
@@ -1234,7 +1234,7 @@ declare namespace Deno {
* will await resolution to consider the test complete.
*
* ```ts
- * import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
+ * import { assertEquals } from "https://deno.land/std/assert/mod.ts";
*
* Deno.bench({
* name: "example test",
@@ -1273,7 +1273,7 @@ declare namespace Deno {
* will await resolution to consider the test complete.
*
* ```ts
- * import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
+ * import { assertEquals } from "https://deno.land/std/assert/mod.ts";
*
* Deno.bench("My test description", () => {
* assertEquals("hello", "hello");
@@ -1301,7 +1301,7 @@ declare namespace Deno {
* will await resolution to consider the test complete.
*
* ```ts
- * import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
+ * import { assertEquals } from "https://deno.land/std/assert/mod.ts";
*
* Deno.bench(function myTestName() {
* assertEquals("hello", "hello");
@@ -1326,7 +1326,7 @@ declare namespace Deno {
* will await resolution to consider the test complete.
*
* ```ts
- * import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
+ * import { assertEquals } from "https://deno.land/std/assert/mod.ts";
*
* Deno.bench(
* "My test description",
@@ -1363,7 +1363,7 @@ declare namespace Deno {
* will await resolution to consider the test complete.
*
* ```ts
- * import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
+ * import { assertEquals } from "https://deno.land/std/assert/mod.ts";
*
* Deno.bench(
* { name: "My test description", permissions: { read: true } },
@@ -1397,7 +1397,7 @@ declare namespace Deno {
* will await resolution to consider the test complete.
*
* ```ts
- * import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
+ * import { assertEquals } from "https://deno.land/std/assert/mod.ts";
*
* Deno.bench(
* { permissions: { read: true } },
@@ -2451,7 +2451,7 @@ declare namespace Deno {
/** Resolves to a {@linkcode Deno.FileInfo} for the file.
*
* ```ts
- * import { assert } from "https://deno.land/std/testing/asserts.ts";
+ * import { assert } from "https://deno.land/std/assert/mod.ts";
*
* const file = await Deno.open("hello.txt");
* const fileInfo = await file.stat();
@@ -2463,7 +2463,7 @@ declare namespace Deno {
/** Synchronously returns a {@linkcode Deno.FileInfo} for the file.
*
* ```ts
- * import { assert } from "https://deno.land/std/testing/asserts.ts";
+ * import { assert } from "https://deno.land/std/assert/mod.ts";
*
* const file = Deno.openSync("hello.txt")
* const fileInfo = file.statSync();
@@ -3513,7 +3513,7 @@ declare namespace Deno {
* of what it points to.
*
* ```ts
- * import { assert } from "https://deno.land/std/testing/asserts.ts";
+ * import { assert } from "https://deno.land/std/assert/mod.ts";
* const fileInfo = await Deno.lstat("hello.txt");
* assert(fileInfo.isFile);
* ```
@@ -3530,7 +3530,7 @@ declare namespace Deno {
* returned instead of what it points to.
*
* ```ts
- * import { assert } from "https://deno.land/std/testing/asserts.ts";
+ * import { assert } from "https://deno.land/std/assert/mod.ts";
* const fileInfo = Deno.lstatSync("hello.txt");
* assert(fileInfo.isFile);
* ```
@@ -3546,7 +3546,7 @@ declare namespace Deno {
* always follow symlinks.
*
* ```ts
- * import { assert } from "https://deno.land/std/testing/asserts.ts";
+ * import { assert } from "https://deno.land/std/assert/mod.ts";
* const fileInfo = await Deno.stat("hello.txt");
* assert(fileInfo.isFile);
* ```
@@ -3562,7 +3562,7 @@ declare namespace Deno {
* `path`. Will always follow symlinks.
*
* ```ts
- * import { assert } from "https://deno.land/std/testing/asserts.ts";
+ * import { assert } from "https://deno.land/std/assert/mod.ts";
* const fileInfo = Deno.statSync("hello.txt");
* assert(fileInfo.isFile);
* ```
@@ -4794,7 +4794,7 @@ declare namespace Deno {
/** Revokes a permission, and resolves to the state of the permission.
*
* ```ts
- * import { assert } from "https://deno.land/std/testing/asserts.ts";
+ * import { assert } from "https://deno.land/std/assert/mod.ts";
*
* const status = await Deno.permissions.revoke({ name: "run" });
* assert(status.state !== "granted")
@@ -4805,7 +4805,7 @@ declare namespace Deno {
/** Revokes a permission, and returns the state of the permission.
*
* ```ts
- * import { assert } from "https://deno.land/std/testing/asserts.ts";
+ * import { assert } from "https://deno.land/std/assert/mod.ts";
*
* const status = Deno.permissions.revokeSync({ name: "run" });
* assert(status.state !== "granted")
@@ -4883,14 +4883,14 @@ declare namespace Deno {
* ### Revoking
*
* ```ts
- * import { assert } from "https://deno.land/std/testing/asserts.ts";
+ * import { assert } from "https://deno.land/std/assert/mod.ts";
*
* const status = await Deno.permissions.revoke({ name: "run" });
* assert(status.state !== "granted")
* ```
*
* ```ts
- * import { assert } from "https://deno.land/std/testing/asserts.ts";
+ * import { assert } from "https://deno.land/std/assert/mod.ts";
*
* const status = Deno.permissions.revokeSync({ name: "run" });
* assert(status.state !== "granted")
@@ -4986,13 +4986,13 @@ declare namespace Deno {
* Give the following command line invocation of Deno:
*
* ```sh
- * deno run --allow-read https://deno.land/std/examples/cat.ts /etc/passwd
+ * deno run --allow-read https://examples.deno.land/command-line-arguments.ts Sushi
* ```
*
* Then `Deno.args` will contain:
*
* ```ts
- * [ "/etc/passwd" ]
+ * [ "Sushi" ]
* ```
*
* If you are looking for a structured way to parse arguments, there is the
@@ -5200,7 +5200,7 @@ declare namespace Deno {
* Returns a `Deno.FileInfo` for the given file stream.
*
* ```ts
- * import { assert } from "https://deno.land/std/testing/asserts.ts";
+ * import { assert } from "https://deno.land/std/assert/mod.ts";
*
* const file = await Deno.open("file.txt", { read: true });
* const fileInfo = await Deno.fstat(file.rid);
@@ -5216,7 +5216,7 @@ declare namespace Deno {
* stream.
*
* ```ts
- * import { assert } from "https://deno.land/std/testing/asserts.ts";
+ * import { assert } from "https://deno.land/std/assert/mod.ts";
*
* const file = Deno.openSync("file.txt", { read: true });
* const fileInfo = Deno.fstatSync(file.rid);