Skip to content

Commit

Permalink
Bump @types/yargs to ^17.0.20 (mui#35900)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Jan 30, 2023
1 parent d28f2f6 commit 6d4f6dc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"@types/sinon": "^10.0.13",
"@types/stylis": "^4.0.2",
"@types/webpack": "^5.28.0",
"@types/yargs": "^17.0.19",
"@types/yargs": "^17.0.20",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
"babel-loader": "^8.3.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/api-docs-builder/buildApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ const SETTINGS: Settings[] = [

type CommandOptions = { grep?: string };

async function run(argv: CommandOptions) {
async function run(argv: yargs.ArgumentsCamelCase<CommandOptions>) {
const grep = argv.grep == null ? null : new RegExp(argv.grep);
let allBuilds: Array<PromiseSettledResult<ReactApi | null>> = [];
await SETTINGS.reduce(async (resolvedPromise, setting) => {
Expand Down Expand Up @@ -246,7 +246,7 @@ async function run(argv: CommandOptions) {
}

yargs
.command<CommandOptions>({
.command({
command: '$0',
describe: 'formats codebase',
builder: (command) => {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3951,10 +3951,10 @@
resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.0.tgz#0c60e537fa790f5f9472ed2776c2b71ec117351b"
integrity sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==

"@types/yargs@^17.0.19":
version "17.0.19"
resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.19.tgz#8dbecdc9ab48bee0cb74f6e3327de3fa0d0c98ae"
integrity sha512-cAx3qamwaYX9R0fzOIZAlFpo4A+1uBVCxqpKz9D26uTF4srRXaGTTsikQmaotCtNdbhzyUH7ft6p9ktz9s6UNQ==
"@types/yargs@^17.0.20":
version "17.0.20"
resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.20.tgz#107f0fcc13bd4a524e352b41c49fe88aab5c54d5"
integrity sha512-eknWrTHofQuPk2iuqDm1waA7V6xPlbgBoaaXEgYkClhLOnB0TtbW+srJaOToAgawPxPlHQzwypFA2bhZaUGP5A==
dependencies:
"@types/yargs-parser" "*"

Expand Down

0 comments on commit 6d4f6dc

Please sign in to comment.