diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2020-07-14 15:24:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-14 15:24:17 -0400 |
commit | cde4dbb35132848ffece59ef9cfaccff32347124 (patch) | |
tree | cc7830968c6decde704c8cfb83c9185193dc698f /cli/js/lib.deno.unstable.d.ts | |
parent | 9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff) |
Use dprint for internal formatting (#6682)
Diffstat (limited to 'cli/js/lib.deno.unstable.d.ts')
-rw-r--r-- | cli/js/lib.deno.unstable.d.ts | 28 |
1 files changed, 14 insertions, 14 deletions
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<void>; /** **Unstable** There are questions around which permission this needs. And @@ -454,7 +454,7 @@ declare namespace Deno { */ export function transpileOnly( sources: Record<string, string>, - options?: CompilerOptions + options?: CompilerOptions, ): Promise<Record<string, TranspileOnlyResult>>; /** **UNSTABLE**: new API, yet to be vetted. @@ -492,7 +492,7 @@ declare namespace Deno { export function compile( rootName: string, sources?: Record<string, string>, - options?: CompilerOptions + options?: CompilerOptions, ): Promise<[DiagnosticItem[] | undefined, Record<string, string>]>; /** **UNSTABLE**: new API, yet to be vetted. @@ -535,7 +535,7 @@ declare namespace Deno { export function bundle( rootName: string, sources?: Record<string, string>, - 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<T, S>( f: (v: void) => T | Promise<T>, - g?: (v: void) => S | Promise<S> + g?: (v: void) => S | Promise<S>, ): Promise<T | S>; next(): Promise<IteratorResult<void>>; [Symbol.asyncIterator](): AsyncIterableIterator<void>; @@ -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<void>; /** **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<Conn>; export interface StartTlsOptions { @@ -950,7 +950,7 @@ declare namespace Deno { */ export function startTls( conn: Conn, - options?: StartTlsOptions + options?: StartTlsOptions, ): Promise<Conn>; /** **UNSTABLE**: The `signo` argument may change to require the Deno.Signal |