diff --git a/src/runtime/deps.ts b/src/runtime/deps.ts index 9668c3d..d796938 100644 --- a/src/runtime/deps.ts +++ b/src/runtime/deps.ts @@ -8,6 +8,7 @@ export type { ParsedPath, } from "https://deno.land/std@0.93.0/path/mod.ts"; export * as io from "https://deno.land/std@0.93.0/io/mod.ts"; +export type { ReadLineResult } from "https://deno.land/std@0.93.0/io/mod.ts"; export * as fs from "https://deno.land/std@0.93.0/fs/mod.ts"; export * as log from "https://deno.land/std@0.93.0/log/mod.ts"; export * as flags from "https://deno.land/std@0.93.0/flags/mod.ts"; diff --git a/types.d.ts b/types.d.ts index c8fd863..e33bbe6 100755 --- a/types.d.ts +++ b/types.d.ts @@ -18,6 +18,7 @@ import type { GlobOptions as _GlobOptions, GlobToRegExpOptions as _GlobToRegExpOptions, ParsedPath as _ParsedPath, + ReadLineResult as _ReadLineResult, } from "./src/runtime/deps.ts"; declare global { @@ -50,6 +51,10 @@ declare global { type ParsedPath = _ParsedPath; } + namespace io { + type ReadLineResult = _ReadLineResult; + } + interface Window { // dzx $: $;