UNPKG

apisurf

Version:

Analyze API surface changes between npm package versions to catch breaking changes

17 lines (16 loc) 550 B
/** * Parse function parameters from a parameter string, handling nested types correctly */ export declare function parseParameters(paramString: string): string[]; /** * Check if a parameter is optional (has ? or default value) */ export declare function isOptionalParameter(param: string): boolean; /** * Extract parameter name from a parameter string */ export declare function getParameterName(param: string): string; /** * Extract parameter type from a parameter string */ export declare function getParameterType(param: string): string;