@kevisual/router 0.0.71 → 0.0.72

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/ws.d.ts CHANGED
@@ -217,7 +217,7 @@ declare class Route<U = {
217
217
  define<T extends {
218
218
  [key: string]: any;
219
219
  } = RouterContextT>(path: string, key: string, fn: Run<T & U>): this;
220
- update(opts: DefineRouteOpts, checkList?: string[]): this;
220
+ update(opts: DefineRouteOpts, onlyUpdateList?: string[]): this;
221
221
  addTo(router: QueryRouter | {
222
222
  add: (route: Route) => void;
223
223
  [key: string]: any;
@@ -255,7 +255,7 @@ declare class QueryRouter {
255
255
  * remove route by id
256
256
  * @param uniqueId
257
257
  */
258
- removeById(unique: string): void;
258
+ removeById(uniqueId: string): void;
259
259
  /**
260
260
  * 执行route
261
261
  * @param path