@kevisual/router 0.0.26 → 0.0.28

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.
@@ -141,7 +141,7 @@ type RouteOpts = {
141
141
  [key: string]: Rule;
142
142
  };
143
143
  schema?: {
144
- [key: string]: any;
144
+ [key: string]: Schema<any>;
145
145
  };
146
146
  isVerify?: boolean;
147
147
  verify?: (ctx?: RouteContext, dev?: boolean) => boolean;
@@ -182,7 +182,7 @@ declare class Route<U = {
182
182
  type?: string;
183
183
  private _validator?;
184
184
  schema?: {
185
- [key: string]: any;
185
+ [key: string]: Schema<any>;
186
186
  };
187
187
  data?: any;
188
188
  /**