Skip to content

DeprecationWarning

Structured deprecation notice emitted for explicitly sourced values.

Signatures

ts
interface DeprecationWarning {}

Members

Properties

kind

Whether this deprecation targets a flag or a positional arg.

ts
kind: "flag" | "arg";

message

Custom deprecation message, or true for the generic warning.

ts
message: string | true;

name

Name of the deprecated flag or arg.

ts
name: string;

See Also

Released under the MIT License.