add type for off method

This commit is contained in:
dominuskernel
2018-01-15 02:22:11 +01:00
parent af1e2b71dc
commit d095efb7a6
6 changed files with 7 additions and 0 deletions

View File

@@ -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(