koa-ts-core 0.0.9-beta.1 → 0.0.9-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/types/route.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export type AuthRouterCallback = (params: {
|
|
|
15
15
|
export type WalkSyncHandler = (filePath: FilePathMeta, dirent: Dirent) => void;
|
|
16
16
|
export interface RouteConfig {
|
|
17
17
|
path: string;
|
|
18
|
-
method
|
|
18
|
+
method: HttpMethod;
|
|
19
19
|
/** 控制器函数(使用 Koa 标准 Middleware 类型) */
|
|
20
20
|
handler: Middleware;
|
|
21
21
|
functionName: string;
|