Add type Params (#22729)

Sorry I tested it but for some reason I uploaded without Params Type by accident the last time.
This commit is contained in:
Dancespile
2018-01-07 14:13:18 -08:00
committed by Mohamed Hegazy
parent 8c3692c2c5
commit f275961d97
+4
View File
@@ -3,6 +3,10 @@
// Definitions by: Adrian Ehrsam <https://github.com/aersamkull>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export type Keys = string
export type State = {[k in Keys]: any}
export type Params = State;
interface NavigoHooks {
before?(done: (suppress?: boolean) => void, params?: Params): void;
after?(params?: Params): void;