method default.PlatformPath.normalize
Jump to headingPlatformPath.normalize(path: string): stringNormalize a string path, reducing '..' and '.' parts. When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used.
Parameters Jump to heading
Jump to headingpath: stringstring path to normalize.
Return Type Jump to heading
stringThrows Jump to heading
TypeErrorif path is not a string.