method default.PlatformPath.joinPlatformPath.join(...paths: string[]): stringDeprecatedJoin all arguments together and normalize the resulting path. Parameters<span>...paths</span>: string[]Return TypestringThrowsTypeErrorif any of the path segments is not a string.