Skip to content

Commit

Permalink
chore(di): Deprecate IInterceptorContext.proceed
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Jun 13, 2019
1 parent a4777b4 commit 6b31211
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions packages/di/src/interfaces/IInterceptorContext.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
export interface IInterceptorNextHandler {
<T>(err?: Error): T;
}

export interface IInterceptorContext<T> {
target: T;
propertyKey: string;
args: any[];
next: IInterceptorNextHandler;
options?: any;
/**
* @deprecated
*/
method: string;
propertyKey: string;
args: any[];
proceed: <T>(err?: Error) => T;
/**
* @deprecated
*/
proceed<T>(err?: Error): T;
}

0 comments on commit 6b31211

Please sign in to comment.