Change the export case to be more semantically correct

This commit is contained in:
Romain Faust
2018-08-23 18:56:26 +02:00
parent c176655da7
commit 7901613eba
+3 -3
View File
@@ -6,9 +6,9 @@
import { Middleware, Request } from 'koa';
declare function KoaCors(options?: KoaCors.Options): Middleware;
declare function koaCors(options?: koaCors.Options): Middleware;
declare namespace KoaCors {
declare namespace koaCors {
interface Options {
credentials?: true;
expose?: string | string[];
@@ -19,4 +19,4 @@ declare namespace KoaCors {
}
}
export = KoaCors;
export = koaCors;