Skip to content

Commit

Permalink
fix: fix flags types
Browse files Browse the repository at this point in the history
  • Loading branch information
c4spar committed May 14, 2021
1 parent 0963dc0 commit 6ea60c6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/runtime/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@ export * as io 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";
export type {
ArgParsingOptions,
Args,
} from "https://deno.land/std@0.93.0/flags/mod.ts";
export { colors } from "https://deno.land/x/cliffy@v0.18.2/ansi/colors.ts";
export { default as shq } from "https://esm.sh/shq@1.0.2";
7 changes: 5 additions & 2 deletions types.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import type {
$,
ArgParsingOptions as _ArgParsingOptions,
Args as _Args,
async as _async,
cd as _cd,
flags as _flags,
Expand All @@ -12,6 +10,11 @@ import type {
quote as _quote,
} from "./mod.ts";

import type {
ArgParsingOptions as _ArgParsingOptions,
Args as _Args,
} from "./src/runtime/deps.ts";

declare global {
// dzx
const $: $;
Expand Down

0 comments on commit 6ea60c6

Please sign in to comment.