UNPKG

668 BTypeScriptView Raw
1import { UseInterceptorMetadataArgs } from './args/UseInterceptorMetadataArgs';
2/**
3 * "Use interceptor" metadata.
4 */
5export declare class InterceptorMetadata {
6 /**
7 * Object class of the interceptor class.
8 */
9 target: Function;
10 /**
11 * Method used by this "use".
12 */
13 method: string;
14 /**
15 * Interceptor class or function to be executed by this "use".
16 */
17 interceptor: Function;
18 /**
19 * Indicates if this interceptor is global or not.
20 */
21 global: boolean;
22 /**
23 * Interceptor priority. Used for global interceptors.
24 */
25 priority: number;
26 constructor(args: UseInterceptorMetadataArgs);
27}