UNPKG

627 BTypeScriptView Raw
1import { Injectable } from '@nestjs/common/interfaces/injectable.interface';
2export declare class MetadataScanner {
3 private readonly cachedScannedPrototypes;
4 /**
5 * @deprecated
6 * @see {@link getAllMethodNames}
7 * @see getAllMethodNames
8 */
9 scanFromPrototype<T extends Injectable, R = any>(instance: T, prototype: object, callback: (name: string) => R): R[];
10 /**
11 * @deprecated
12 * @see {@link getAllMethodNames}
13 * @see getAllMethodNames
14 */
15 getAllFilteredMethodNames(prototype: object): IterableIterator<string>;
16 getAllMethodNames(prototype: object | null): string[];
17}
18
\No newline at end of file