Skip to content

Commit 6ea60c6

Browse files
committed
fix: fix flags types
1 parent 0963dc0 commit 6ea60c6

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

src/runtime/deps.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,9 @@ export * as io from "https://deno.land/[email protected]/io/mod.ts";
44
export * as fs from "https://deno.land/[email protected]/fs/mod.ts";
55
export * as log from "https://deno.land/[email protected]/log/mod.ts";
66
export * as flags from "https://deno.land/[email protected]/flags/mod.ts";
7+
export type {
8+
ArgParsingOptions,
9+
Args,
10+
} from "https://deno.land/[email protected]/flags/mod.ts";
711
export { colors } from "https://deno.land/x/[email protected]/ansi/colors.ts";
812
export { default as shq } from "https://esm.sh/[email protected]";

types.d.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import type {
22
$,
3-
ArgParsingOptions as _ArgParsingOptions,
4-
Args as _Args,
53
async as _async,
64
cd as _cd,
75
flags as _flags,
@@ -12,6 +10,11 @@ import type {
1210
quote as _quote,
1311
} from "./mod.ts";
1412

13+
import type {
14+
ArgParsingOptions as _ArgParsingOptions,
15+
Args as _Args,
16+
} from "./src/runtime/deps.ts";
17+
1518
declare global {
1619
// dzx
1720
const $: $;

0 commit comments

Comments
 (0)