UNPKG
@motorcycle/router
Version:
latest (6.1.1)
6.1.1
6.1.0
6.0.0
5.1.0
5.0.0
4.1.7
4.1.6
4.1.5
4.1.4
4.1.3
4.1.2
4.1.1
4.1.0
4.0.0
3.1.0
3.0.0
2.2.0
2.1.0
2.0.0
1.2.2
1.2.1
1.2.0
1.1.0
1.0.0
Standard Router Driver for Motorcycle.js
github.com/motorcyclejs/router
motorcyclejs/router
@motorcycle/router
/
lib
/
Router.d.ts
8 lines
(7 loc)
•
282 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
HistorySources
}
from
'@motorcycle/history'
;
import
{
RouterSource
}
from
'./RouterSource'
;
export
declare
function
Router
(
sinks
:
HistorySources
):
RouterSources
;
export
declare
type
RouterSinks
=
HistorySources
;
export
interface
RouterSources
{
router
:
RouterSource
; }