Skip to content

Commit

Permalink
chore: types (#6214)
Browse files Browse the repository at this point in the history
  • Loading branch information
ycjcl868 authored Mar 5, 2021
1 parent fb11c40 commit f510614
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,14 @@ export interface IApi extends PluginAPI {
addEntryCodeAhead: IAdd<null, string>;
addTmpGenerateWatcherPaths: IAdd<null, string>;
addBeforeMiddlewares: IAdd<{ service: Service }, RequestHandler<any>>;
/**
* @deprecated
*/
addBeforeMiddewares: IAdd<{ service: Service }, RequestHandler<any>>;
addMiddlewares: IAdd<{ service: Service }, RequestHandler<any>>;
/**
* @deprecated
*/
addMiddewares: IAdd<{ service: Service }, RequestHandler<any>>;
}

Expand Down

0 comments on commit f510614

Please sign in to comment.