fix(react): support for 'root' router direction, fixes #19982 (#20052)

This commit is contained in:
Ely Lucas
2019-12-09 17:23:39 -07:00
committed by Ely Lucas
parent 43712db1be
commit 4d226b05c6
4 changed files with 22 additions and 6 deletions

View File

@ -1,4 +1,4 @@
export declare type RouterDirection = 'forward' | 'back' | 'none';
export declare type RouterDirection = 'forward' | 'back' | 'root' | 'none';
export type HrefProps<T> = Omit<T, 'routerDirection'> & {
routerLink?: string;