0.3.31 • Published 6 months ago
@types/routie v0.3.31
Installation
npm install --save @types/routie
Summary
This package contains type definitions for routie (https://github.com/jgallen23/routie).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/routie.
index.d.ts
// Type definitions for routie 0.3.2
// Project: https://github.com/jgallen23/routie
// Definitions by: Adilson <https://github.com/Adilson>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare namespace routie {
interface Routie extends RoutieStatic {
(path: string): void;
(path: string, fn: Function): void;
(routes: { [key: string]: Function }): void;
}
interface RoutieStatic {
lookup(name: string, fn: Function): string;
remove(path: string, fn: Function): void;
removeAll(): void;
navigate(path: string, options?: RouteOptions): void;
noConflict(): Routie;
}
interface RouteOptions {
silent?: boolean | undefined;
}
}
declare var routie: routie.Routie;
Additional Details
- Last updated: Thu, 08 Jul 2021 22:42:11 GMT
- Dependencies: none
- Global values:
routie
Credits
These definitions were written by Adilson.
0.3.31
6 months ago
0.3.30
7 months ago
0.3.29
3 years ago
0.3.28
5 years ago
0.3.27
8 years ago
0.3.26
8 years ago
0.3.25-alpha
8 years ago
0.3.24-alpha
8 years ago
0.3.23-alpha
8 years ago
0.3.22-alpha
8 years ago
0.3.21-alpha
8 years ago
0.3.20-alpha
8 years ago
0.3.19-alpha
8 years ago
0.3.14-alpha
8 years ago
0.3.13-alpha
8 years ago