summaryrefslogtreecommitdiff
path: root/cli/dts/lib.deno.unstable.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/dts/lib.deno.unstable.d.ts')
-rw-r--r--cli/dts/lib.deno.unstable.d.ts9
1 files changed, 3 insertions, 6 deletions
diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts
index a7203f778..8a3e872df 100644
--- a/cli/dts/lib.deno.unstable.d.ts
+++ b/cli/dts/lib.deno.unstable.d.ts
@@ -1098,9 +1098,6 @@ declare namespace Deno {
*/
export function hostname(): string;
- /** **UNSTABLE**: The URL of the file that was originally executed from the command-line. */
- export const mainModule: string;
-
/** **UNSTABLE**: new API, yet to be vetted.
* Synchronously truncates or extends the specified file stream, to reach the
* specified `len`. If `len` is not specified then the entire file contents
@@ -1217,7 +1214,7 @@ declare namespace Deno {
/** **UNSTABLE**: New API, yet to be vetted.
* A custom HttpClient for use with `fetch`.
- *
+ *
* ```ts
* const client = new Deno.createHttpClient({ caFile: "./ca.pem" });
* const req = await fetch("https://myserver.com", { client });
@@ -1233,7 +1230,7 @@ declare namespace Deno {
*/
interface CreateHttpClientOptions {
/** A certificate authority to use when validating TLS certificates.
- *
+ *
* Requires `allow-read` permission.
*/
caFile?: string;
@@ -1241,7 +1238,7 @@ declare namespace Deno {
/** **UNSTABLE**: New API, yet to be vetted.
* Create a custom HttpClient for to use with `fetch`.
- *
+ *
* ```ts
* const client = new Deno.createHttpClient({ caFile: "./ca.pem" });
* const req = await fetch("https://myserver.com", { client });