mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 07:47:04 +00:00
[koa-bouncer] fixes ValidatorError/ValidationError typo (#32481)
This commit is contained in:
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
import { Middleware, Context } from 'koa';
|
||||
|
||||
declare namespace KoaBouncer {
|
||||
export class ValidatorError extends Error {
|
||||
export class ValidationError extends Error {
|
||||
name: string;
|
||||
message: string;
|
||||
bouncer: {
|
||||
@@ -88,4 +88,4 @@ declare module "koa" {
|
||||
}
|
||||
}
|
||||
|
||||
export = KoaBouncer;
|
||||
export = KoaBouncer;
|
||||
|
||||
Reference in New Issue
Block a user