mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
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:
2
types/history/PathUtils.d.ts
vendored
2
types/history/PathUtils.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user