From dfe6809fb20818d6e165e8a62eccfabe4f49482c Mon Sep 17 00:00:00 2001 From: Diogo Franco Date: Wed, 21 Jun 2017 18:22:33 +0900 Subject: [PATCH] history: Update PathUtils for 4.6.2 https://github.com/ReactTraining/history/pull/459 --- types/history/PathUtils.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/types/history/PathUtils.d.ts b/types/history/PathUtils.d.ts index 4cc947fcf3372e..80e5c2db5460a9 100644 --- a/types/history/PathUtils.d.ts +++ b/types/history/PathUtils.d.ts @@ -2,6 +2,8 @@ import { Path, Location, LocationDescriptorObject } from './index'; export function addLeadingSlash(path: Path): Path; export function stripLeadingSlash(path: Path): Path; -export function stripPrefix(path: Path, prefix: string): Path; +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;