UNPKG
@fly/cdn
Version:
latest (0.5.2)
prerelease (0.6.0-0)
0.6.0-0
0.5.2
0.5.0
0.5.0-0
0.4.0
0.4.0-1
0.4.0-0
0.3.3
0.3.2
Fly's TypeScript CDN
github.com/superfly/cdn
superfly/cdn
@fly/cdn
/
lib
/
config
/
middleware.d.ts
6 lines
(5 loc)
•
270 B
TypeScript
View Raw
1
2
3
4
5
6
/**
@module
Config */
import
{
FetchFunction
}
from
"../fetch"
;
import
{
ItemConfig
}
from
"./index"
;
export
declare
function
buildMiddleware
(
fetch: FetchFunction, config: ItemConfig
):
FetchFunction
;
export
declare
function
validateMiddleware
(
config: ItemConfig
):
void
;