circe-on-error
Advanced tools
Comparing version 0.0.2 to 0.0.3
/// <reference types="koa" /> | ||
import * as Koa from 'koa'; | ||
export declare type OnErrorHandler = (err: Error, ctx: any) => void; | ||
export declare type OnErrorHandler = (err: Error, ctx: Koa.Context) => void; | ||
export default function onErrorMiddleware(handler: OnErrorHandler): Koa.Middleware; |
{ | ||
"name": "circe-on-error", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
import * as Koa from 'koa' | ||
export type OnErrorHandler = (err: Error, ctx: any) => void | ||
export type OnErrorHandler = (err: Error, ctx: Koa.Context) => void | ||
@@ -5,0 +5,0 @@ export default function onErrorMiddleware (handler: OnErrorHandler): Koa.Middleware { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6088