UNPKG
ccq-core
Version:
latest (0.1.1)
0.1.1
koa project with typescript
ccq-core
/
app
/
middlewares
/
globalMiddleware.ts
4 lines
•
104 B
text/typescript
View Raw
1
2
3
4
export
default
options =>
async
(ctx, next) => {
console
.
log
(
JSON
.
stringify
(options))
await
next
() }