From cde4dbb35132848ffece59ef9cfaccff32347124 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 14 Jul 2020 15:24:17 -0400 Subject: Use dprint for internal formatting (#6682) --- cli/js/lib.deno.unstable.d.ts | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'cli/js/lib.deno.unstable.d.ts') diff --git a/cli/js/lib.deno.unstable.d.ts b/cli/js/lib.deno.unstable.d.ts index 05508a363..d23536c42 100644 --- a/cli/js/lib.deno.unstable.d.ts +++ b/cli/js/lib.deno.unstable.d.ts @@ -52,7 +52,7 @@ declare namespace Deno { * ``` */ export function consoleSize( - rid: number + rid: number, ): { columns: number; rows: number; @@ -77,7 +77,7 @@ declare namespace Deno { export function symlinkSync( oldpath: string, newpath: string, - options?: SymlinkOptions + options?: SymlinkOptions, ): void; /** **UNSTABLE**: This API needs a security review. @@ -95,7 +95,7 @@ declare namespace Deno { export function symlink( oldpath: string, newpath: string, - options?: SymlinkOptions + options?: SymlinkOptions, ): Promise; /** **Unstable** There are questions around which permission this needs. And @@ -454,7 +454,7 @@ declare namespace Deno { */ export function transpileOnly( sources: Record, - options?: CompilerOptions + options?: CompilerOptions, ): Promise>; /** **UNSTABLE**: new API, yet to be vetted. @@ -492,7 +492,7 @@ declare namespace Deno { export function compile( rootName: string, sources?: Record, - options?: CompilerOptions + options?: CompilerOptions, ): Promise<[DiagnosticItem[] | undefined, Record]>; /** **UNSTABLE**: new API, yet to be vetted. @@ -535,7 +535,7 @@ declare namespace Deno { export function bundle( rootName: string, sources?: Record, - options?: CompilerOptions + options?: CompilerOptions, ): Promise<[DiagnosticItem[] | undefined, string]>; /** **UNSTABLE**: Should not have same name as `window.location` type. */ @@ -657,7 +657,7 @@ declare namespace Deno { constructor(signal: typeof Deno.Signal); then( f: (v: void) => T | Promise, - g?: (v: void) => S | Promise + g?: (v: void) => S | Promise, ): Promise; next(): Promise>; [Symbol.asyncIterator](): AsyncIterableIterator; @@ -777,7 +777,7 @@ declare namespace Deno { export function utimeSync( path: string, atime: number | Date, - mtime: number | Date + mtime: number | Date, ): void; /** **UNSTABLE**: needs investigation into high precision time. @@ -794,7 +794,7 @@ declare namespace Deno { export function utime( path: string, atime: number | Date, - mtime: number | Date + mtime: number | Date, ): Promise; /** **UNSTABLE**: Under consideration to remove `ShutdownMode` entirely. @@ -860,7 +860,7 @@ declare namespace Deno { * * Requires `allow-read` and `allow-write` permission. */ export function listen( - options: UnixListenOptions & { transport: "unix" } + options: UnixListenOptions & { transport: "unix" }, ): Listener; /** **UNSTABLE**: new API, yet to be vetted @@ -881,7 +881,7 @@ declare namespace Deno { * * Requires `allow-net` permission. */ export function listenDatagram( - options: ListenOptions & { transport: "udp" } + options: ListenOptions & { transport: "udp" }, ): DatagramConn; /** **UNSTABLE**: new API, yet to be vetted @@ -897,7 +897,7 @@ declare namespace Deno { * * Requires `allow-read` and `allow-write` permission. */ export function listenDatagram( - options: UnixListenOptions & { transport: "unixpacket" } + options: UnixListenOptions & { transport: "unixpacket" }, ): DatagramConn; export interface UnixConnectOptions { @@ -921,7 +921,7 @@ declare namespace Deno { * * Requires `allow-net` permission for "tcp" and `allow-read` for "unix". */ export function connect( - options: ConnectOptions | UnixConnectOptions + options: ConnectOptions | UnixConnectOptions, ): Promise; export interface StartTlsOptions { @@ -950,7 +950,7 @@ declare namespace Deno { */ export function startTls( conn: Conn, - options?: StartTlsOptions + options?: StartTlsOptions, ): Promise; /** **UNSTABLE**: The `signo` argument may change to require the Deno.Signal -- cgit v1.2.3