Skip to content

Commit 0daafdd

Browse files
authored
fix: export parser related types (#1099)
1 parent 53b516d commit 0daafdd

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

src/interfaces/index.ts

+15-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,21 @@ export type {HelpOptions} from './help'
77
export type {Hook, Hooks} from './hooks'
88
export type {Logger} from './logger'
99
export type {Manifest} from './manifest'
10-
export type {Arg, BooleanFlag, CustomOptions, Deprecation, Flag, FlagDefinition, OptionFlag} from './parser'
10+
export type {
11+
Arg,
12+
ArgInput,
13+
BooleanFlag,
14+
CustomOptions,
15+
Deprecation,
16+
Flag,
17+
FlagDefinition,
18+
FlagInput,
19+
Input,
20+
OptionFlag,
21+
OutputArgs,
22+
OutputFlags,
23+
ParserOutput,
24+
} from './parser'
1125
export type {LinkedPlugin, OclifConfiguration, PJSON, S3, S3Templates, UserPJSON, UserPlugin} from './pjson'
1226
export type {Options, Plugin, PluginOptions} from './plugin'
1327
export type {S3Manifest} from './s3-manifest'

src/parser/index.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
import {ArgInput, FlagInput, Input, OutputArgs, OutputFlags, ParserOutput} from '../interfaces/parser'
1+
import type {ArgInput, FlagInput, Input, OutputArgs, OutputFlags, ParserOutput} from '../interfaces/parser'
2+
23
import {Parser} from './parse'
34
import {validate} from './validate'
45

6+
export type {ArgInput, FlagInput, Input, OutputArgs, OutputFlags, ParserOutput} from '../interfaces/parser'
7+
58
export {flagUsages} from './help'
69

710
export async function parse<

0 commit comments

Comments
 (0)