UNPKG

lambda-live-debugger

Version:

Debug Lambda functions locally like it is running in the cloud

9 lines (8 loc) 338 B
/** * Sanitizes a TypeScript version string for user-agent reporting. * Handles dist tags (e.g., "latest", "beta"), version prefixes (e.g., "^", "~"), * and semver strings. Returns undefined if the version is invalid. * * @internal */ export declare const getSanitizedDevTypeScriptVersion: (version?: string) => string | undefined;