history Add generic type param to createPath (#41993)

This is required to fix fallout from https://github.com/DefinitelyTyped/DefinitelyTyped/issues/41674
This commit is contained in:
Daniel Nixon
2020-01-31 13:26:53 -08:00
committed by GitHub
parent 63bf4488c8
commit 8dc7d715bd
+1 -1
View File
@@ -6,4 +6,4 @@ export function hasBasename(path: Path): boolean;
export function stripBasename(path: Path, prefix: string): Path;
export function stripTrailingSlash(path: Path): Path;
export function parsePath(path: Path): Location;
export function createPath(location: LocationDescriptorObject): Path;
export function createPath<S>(location: LocationDescriptorObject<S>): Path;