Skip to content

Commit

Permalink
fix: export parser related types (#1099)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley authored Jun 6, 2024
1 parent 53b516d commit 0daafdd
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
16 changes: 15 additions & 1 deletion src/interfaces/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,21 @@ export type {HelpOptions} from './help'
export type {Hook, Hooks} from './hooks'
export type {Logger} from './logger'
export type {Manifest} from './manifest'
export type {Arg, BooleanFlag, CustomOptions, Deprecation, Flag, FlagDefinition, OptionFlag} from './parser'
export type {
Arg,
ArgInput,
BooleanFlag,
CustomOptions,
Deprecation,
Flag,
FlagDefinition,
FlagInput,
Input,
OptionFlag,
OutputArgs,
OutputFlags,
ParserOutput,
} from './parser'
export type {LinkedPlugin, OclifConfiguration, PJSON, S3, S3Templates, UserPJSON, UserPlugin} from './pjson'
export type {Options, Plugin, PluginOptions} from './plugin'
export type {S3Manifest} from './s3-manifest'
Expand Down
5 changes: 4 additions & 1 deletion src/parser/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import {ArgInput, FlagInput, Input, OutputArgs, OutputFlags, ParserOutput} from '../interfaces/parser'
import type {ArgInput, FlagInput, Input, OutputArgs, OutputFlags, ParserOutput} from '../interfaces/parser'

import {Parser} from './parse'
import {validate} from './validate'

export type {ArgInput, FlagInput, Input, OutputArgs, OutputFlags, ParserOutput} from '../interfaces/parser'

export {flagUsages} from './help'

export async function parse<
Expand Down

0 comments on commit 0daafdd

Please sign in to comment.