getCallSignatureProps
Extract only the call signature props from a props object which extends CallSignatureProps. You can provide default values for the props.
import { getCallSignatureProps } from "@alloy-js/python";
function getCallSignatureProps(props: CallSignatureProps, defaults?: Partial<CallSignatureProps>): Pick<CallSignatureProps, "args" | "kwargs" | "parameters" | "returnType" | "typeParameters">;Parameters
Section titled “Parameters”| props | CallSignatureProps | |
| defaults | optional Partial<CallSignatureProps> |
Returns
Section titled “Returns”Pick<CallSignatureProps, “args” | “kwargs” | “parameters” | “returnType” | “typeParameters”>