Skip to content

Commit

Permalink
feat: add flags types to flags namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
c4spar committed May 14, 2021
1 parent b1cdd29 commit 0963dc0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions types.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import type {
$,
ArgParsingOptions as _ArgParsingOptions,
Args as _Args,
async as _async,
cd as _cd,
flags as _flags,
Expand All @@ -24,6 +26,11 @@ declare global {
const log: typeof _log;
const flags: typeof _flags;

namespace flags {
type Args = _Args;
type ArgParsingOptions = _ArgParsingOptions;
}

interface Window {
// dzx
$: $;
Expand Down

0 comments on commit 0963dc0

Please sign in to comment.