mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-05 20:02:05 +08:00
Merge pull request #24544 from deini/navigo
navigo: update lastRouteResolved
This commit is contained in:
3
types/navigo/index.d.ts
vendored
3
types/navigo/index.d.ts
vendored
@@ -2,6 +2,7 @@
|
||||
// Project: https://github.com/krasimir/navigo
|
||||
// Definitions by: Adrian Ehrsam <https://github.com/aersamkull>
|
||||
// Dancespiele <https://github.com/dancespiele>
|
||||
// Daniel Almaguer <https://github.com/deini>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.1
|
||||
|
||||
@@ -53,7 +54,7 @@ declare class Navigo {
|
||||
|
||||
link(path: string): string;
|
||||
|
||||
lastRouteResolved(): {url: string, query: string};
|
||||
lastRouteResolved(): {url: string, query: string, hooks: NavigoHooks, params?: Params, name?: string};
|
||||
|
||||
disableIfAPINotAvailable(): void;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user