Skip to content

Commit

Permalink
replace Partial with Pick
Browse files Browse the repository at this point in the history
  • Loading branch information
dario-piotrowicz committed Jan 19, 2024
1 parent 2d08294 commit f3c76bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/wrangler/src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ export type {
export function readConfig<CommandArgs>(
configPath: string | undefined,
// Include command specific args as well as the wrangler global flags
args: CommandArgs & Partial<OnlyCamelCase<CommonYargsOptions>>
args: CommandArgs &
Pick<OnlyCamelCase<CommonYargsOptions>, "experimentalJsonConfig">
): Config {
let rawConfig: RawConfig = {};
if (!configPath) {
Expand Down

0 comments on commit f3c76bf

Please sign in to comment.