diff --git a/packages/context/src/interceptor.ts b/packages/context/src/interceptor.ts index 52afa86601d7..604231a77b33 100644 --- a/packages/context/src/interceptor.ts +++ b/packages/context/src/interceptor.ts @@ -214,7 +214,10 @@ export function intercept(...interceptorOrKeys: InterceptorOrKey[]) { return function interceptDecoratorForClassOrMethod( target: ClassOrPrototype, method?: string, - methodDescriptor?: TypedPropertyDescriptor, + // Use `any` to for `TypedPropertyDescriptor` + // See https://github.com/strongloop/loopback-next/pull/2704 + // tslint:disable-next-line:no-any + methodDescriptor?: TypedPropertyDescriptor, ) { if (method && methodDescriptor) { // Method