Skip to content

Commit 666ab2b

Browse files
committed
chore: avoid yargs-parser dependency
1 parent 93ef973 commit 666ab2b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/common/config/parseUserConfig.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ import {
1010
UnknownArgumentError,
1111
} from "@mongosh/arg-parser/arg-parser";
1212
import { z as z4 } from "zod/v4";
13-
import type yargsParser from "yargs-parser";
1413

15-
export type ParserOptions = Partial<yargsParser.Options>;
14+
export type ParserOptions = typeof defaultArgParserOptions;
1615

1716
export const defaultParserOptions = {
1817
// This is the name of key that yargs-parser will look up in CLI

0 commit comments

Comments
 (0)