Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f74333c

Browse files
committedAug 26, 2024··
Run formatter
Not sure why it keeps trying to indent the options though, in CI it wants it flat. Going to keep it flat for now until we figure it out.
1 parent f8a4da7 commit f74333c

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed
 

‎docs/guide.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
- [Proxying to a Vue app](#proxying-to-a-vue-app)
2121
- [Proxying to an Angular app](#proxying-to-an-angular-app)
2222
- [Proxying to a Svelte app](#proxying-to-a-svelte-app)
23+
- [Prefixing `/absproxy/<port>` with a path](#prefixing-absproxyport-with-a-path)
2324

2425
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
2526
<!-- prettier-ignore-end -->

‎src/node/cli.ts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -118,18 +118,18 @@ interface Option<T> {
118118
type OptionType<T> = T extends boolean
119119
? "boolean"
120120
: T extends OptionalString
121-
? typeof OptionalString
122-
: T extends LogLevel
123-
? typeof LogLevel
124-
: T extends AuthType
125-
? typeof AuthType
126-
: T extends number
127-
? "number"
128-
: T extends string
129-
? "string"
130-
: T extends string[]
131-
? "string[]"
132-
: "unknown"
121+
? typeof OptionalString
122+
: T extends LogLevel
123+
? typeof LogLevel
124+
: T extends AuthType
125+
? typeof AuthType
126+
: T extends number
127+
? "number"
128+
: T extends string
129+
? "string"
130+
: T extends string[]
131+
? "string[]"
132+
: "unknown"
133133

134134
export type Options<T> = {
135135
[P in keyof T]: Option<OptionType<T[P]>>
@@ -282,7 +282,7 @@ export const options: Options<Required<UserProvidedArgs>> = {
282282
},
283283
"abs-proxy-base-path": {
284284
type: "string",
285-
description: "The base path to prefix all absproxy requests",
285+
description: "The base path to prefix to all absproxy requests",
286286
},
287287
}
288288

0 commit comments

Comments
 (0)
Please sign in to comment.