UNPKG

react-native-asset

Version:

Linking and unlinking of assets in your react-native app, works for fonts and sounds

17 lines 492 B
/** * Resolves path segments into a `path`. * * @example Usage * ```ts * import { resolve } from "@std/path/posix/resolve"; * import { assertEquals } from "@std/assert"; * * const path = resolve("/foo", "bar", "baz/asdf", "quux", ".."); * assertEquals(path, "/foo/bar/baz/asdf"); * ``` * * @param pathSegments The path segments to resolve. * @returns The resolved path. */ export declare function resolve(...pathSegments: string[]): string; //# sourceMappingURL=resolve.d.ts.map