lambda-live-debugger
Version:
Debug Lambda functions locally like it is running in the cloud
9 lines (8 loc) • 326 B
TypeScript
/**
* Validates a semver string (with optional pre-release and/or build metadata).
* If valid, returns the version string with build metadata stripped.
* Returns undefined if the string is not a valid semver.
*
* @internal
*/
export declare const getSanitizedTypeScriptVersion: (version?: string) => string | undefined;