mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 17:51:46 +00:00
Change the export case to be more semantically correct
This commit is contained in:
Vendored
+3
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user