Extract the inferred positionals tuple type from a CallablePositionalsParser or Parser.
const positionals = pos.positionals( pos.string({ name: 'source', required: true }), pos.string({ name: 'dest', required: true }),);// Extract the type for use elsewheretype Positionals = InferParserPositionals<typeof positionals>;// readonly [string, string] Copy
const positionals = pos.positionals( pos.string({ name: 'source', required: true }), pos.string({ name: 'dest', required: true }),);// Extract the type for use elsewheretype Positionals = InferParserPositionals<typeof positionals>;// readonly [string, string]
Extract the inferred positionals tuple type from a CallablePositionalsParser or Parser.