diff --git a/cli/js/deno.ts b/cli/js/deno.ts index 91f55455cffc1a..0fd73c87e9a137 100644 --- a/cli/js/deno.ts +++ b/cli/js/deno.ts @@ -33,8 +33,8 @@ export { watchFs } from "./ops/fs_events.ts"; export type { FsEvent } from "./ops/fs_events.ts"; export { internalSymbol as internal } from "./internals.ts"; export { copy, iter, iterSync } from "./io.ts"; +export { SeekMode } from "./io.ts"; export type { - SeekMode, Reader, ReaderSync, Writer, @@ -56,8 +56,8 @@ export type { MkdirOptions } from "./ops/fs/mkdir.ts"; export { connect, listen } from "./net.ts"; export type { Listener, Conn } from "./net.ts"; export { env, exit, execPath } from "./ops/os.ts"; -export { run } from "./process.ts"; -export type { RunOptions, Process, ProcessStatus } from "./process.ts"; +export { Process, run } from "./process.ts"; +export type { RunOptions, ProcessStatus } from "./process.ts"; export { readDirSync, readDir } from "./ops/fs/read_dir.ts"; export type { DirEntry } from "./ops/fs/read_dir.ts"; export { readFileSync, readFile } from "./read_file.ts"; diff --git a/cli/js/deno_unstable.ts b/cli/js/deno_unstable.ts index 346c33271cc5c8..8744abba46446a 100644 --- a/cli/js/deno_unstable.ts +++ b/cli/js/deno_unstable.ts @@ -15,20 +15,16 @@ export { signal, signals, Signal, SignalStream } from "./signals.ts"; export { setRaw } from "./ops/tty.ts"; export { utimeSync, utime } from "./ops/fs/utime.ts"; export { ftruncateSync, ftruncate } from "./ops/fs/truncate.ts"; -export { shutdown } from "./net.ts"; -export type { ShutdownMode } from "./net.ts"; +export { shutdown, ShutdownMode } from "./net.ts"; export { listen, listenDatagram, connect } from "./net_unstable.ts"; export { startTls } from "./tls.ts"; export { kill } from "./ops/process.ts"; export { permissions, Permissions } from "./permissions.ts"; -export type { - PermissionName, - PermissionState, - PermissionStatus, -} from "./permissions.ts"; +export { PermissionStatus } from "./permissions.ts"; +export type { PermissionName, PermissionState } from "./permissions.ts"; +export { DiagnosticCategory } from "./diagnostics.ts"; export type { Diagnostic, - DiagnosticCategory, DiagnosticItem, DiagnosticMessageChain, } from "./diagnostics.ts";