Skip to content

WithArgPresence ​

Advanced type helper used by ArgBuilder modifiers to replace presence. Most consumers rely on inference and never reference this directly.

Signatures ​

ts
type WithArgPresence<C extends ArgConfig, P extends ArgPresence> = unknown;

Members ​

Properties ​

argKind ​

ts
argKind: C["argKind"];

elementEligible ​

ts
elementEligible: false;

presence ​

ts
presence: P;

valueType ​

ts
valueType: C["valueType"];

variadic ​

ts
variadic: C["variadic"];

See Also ​

Released under the MIT License.