---
title: "@types/yargs 17.0.35 Breaking Changes on npm | Since.dev"
description: "What each @types/yargs release removed, renamed or changed: 8 breaking changes in 4 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@types/yargs
last_updated: 2026-12-04
---

# @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

Latest version `17.0.35`, released November 14, 2025. [Source repository](https://github.com/DefinitelyTyped/DefinitelyTyped)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [17.0.24](#v-17-0-24) to [17.0.35](#v-17-0-35): 7 breaking changes in 3 versions.

## @types/yargs 17.0.35 breaking changes

@types/yargs 17.0.35, released November 14, 2025: 1 breaking change.

- **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](https://www.npmjs.com/package/@types/yargs/v/17.0.35)

## @types/yargs 17.0.26 breaking changes

@types/yargs 17.0.26, released September 29, 2023: 1 breaking change.

- **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](https://www.npmjs.com/package/@types/yargs/v/17.0.26)

## @types/yargs 17.0.25 breaking changes

@types/yargs 17.0.25, released September 25, 2023: 5 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](https://www.npmjs.com/package/@types/yargs/v/17.0.25)
- **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](https://www.npmjs.com/package/@types/yargs/v/17.0.25)
- **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](https://www.npmjs.com/package/@types/yargs/v/17.0.25)
- **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](https://www.npmjs.com/package/@types/yargs/v/17.0.25)
- **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](https://www.npmjs.com/package/@types/yargs/v/17.0.25)

## @types/yargs 17.0.24 breaking changes

@types/yargs 17.0.24, released March 27, 2023: 1 breaking change.

- **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](https://www.npmjs.com/package/@types/yargs/v/17.0.24)

## Related packages

- [@types/chrome](https://since.dev/packages/npm/@types/chrome.md)
- [@types/node](https://since.dev/packages/npm/@types/node.md)
- [@types/react](https://since.dev/packages/npm/@types/react.md)
- [@types/jqueryui](https://since.dev/packages/npm/@types/jqueryui.md)
- [@types/chrome-remote-interface](https://since.dev/packages/npm/@types/chrome-remote-interface.md)
- [@types/three](https://since.dev/packages/npm/@types/three.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
