@types/yargs breaking changes
@types/yargs 17.0.35 (November 14, 2025) is its newest release with breaking changes. The first: Signature changed yargs:default. Every breaking API change we have recorded in @types/yargs on npm: 8 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 17.0.35, released November 14, 2025. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@types/yargs 17.0.35 breaking changes
- Signature changed
yargs:default
Was function Yargs(processArgs?: readonly string[] | string, cwd?: string, parentRequire?: NodeRequire): Argv; now function Yargs(processArgs?: readonly string[] | string, cwd?: string, parentRequire?: NodeJS.Require): Argv. npmjs.com
@types/yargs 17.0.26 breaking changes
- Signature changed
Argv.command
Was command(command: string | ReadonlyArray<string>, description: string, module: CommandModule<T, any>): Argv<T> command(command: string | ReadonlyArray<string>, showInHelp: false, module: CommandModule<T, any>): Argv<T> command(module... npmjs.com
@types/yargs 17.0.25 breaking changes
- Signature changed
Argv.argv
Was argv: {[key in keyof Arguments<T> as key | CamelCaseKey<key>]: Arguments<T>[key]} | Promise<{[key in keyof Arguments<T> as key | CamelCaseKey<key>]: Arguments<T>[key]}>; now argv: | {[key in keyof Arguments<T> as key |... npmjs.com - Signature changed
Argv.parse
Was parse(): {[key in keyof Arguments<T> as key | CamelCaseKey<key>]: Arguments<T>[key]} | Promise<{[key in keyof Arguments<T> as key | CamelCaseKey<key>]: Arguments<T>[key]}> parse(arg: string | ReadonlyArray<string>, context?: object... npmjs.com - Signature changed
BuilderCallback
Was type BuilderCallback<T, R> = ((args: Argv<T>) => PromiseLike<Argv<R>>) | ((args: Argv<T>) => Argv<R>) | ((args: Argv<T>) => void); now type BuilderCallback<T, R> = | ((args: Argv<T>) => PromiseLike<Argv<R>>) | ((args: Argv<T>) =>... npmjs.com - Signature changed
CommandBuilder
Was type CommandBuilder<T = {}, U = {}> = {[key: string]: Options} | ((args: Argv<T>) => Argv<U>) | ((args: Argv<T>) => PromiseLike<Argv<U>>); now type CommandBuilder<T = {}, U = {}> = | {[key: string]: Options} | ((args: Argv<T>) =>... npmjs.com - Signature changed
InferredOptionType
Was type InferredOptionType<O extends Options | PositionalOptions> = O extends (| {coerce: (arg: any) => infer T}) ? IsRequiredOrHasDefault<O> extends true ? T : T | undefined : O extends (| {type: "count"; default: infer D} | {count... npmjs.com
@types/yargs 17.0.24 breaking changes
- Signature changed
InferredOptionTypePrimitive
Was type InferredOptionTypePrimitive<O extends Options | PositionalOptions> = O extends {default: infer D} ? InferredOptionTypeInner<O> | D : IsRequiredOrHasDefault<O> extends true ? InferredOptionTypeInner<O> : InferredOptionTypeInner<O>... npmjs.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.