mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-31 03:02:04 +08:00
add type for off method
This commit is contained in:
@@ -120,6 +120,11 @@ router.resume(); // or .pause(false)
|
||||
router.pause();
|
||||
router.historyAPIUpdateMethod('replaceState');
|
||||
router.disableIfAPINotAvailable();
|
||||
router.off({
|
||||
'/trip/:number': {
|
||||
as: 'trip', uses: (params, query) => {}
|
||||
}
|
||||
});
|
||||
router.resume();
|
||||
|
||||
router.on(
|
||||
|
||||
Reference in New Issue
Block a user