You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

17 lines
634 B

import { Injectable } from '@nestjs/common/interfaces/injectable.interface';
export declare class MetadataScanner {
private readonly cachedScannedPrototypes;
/**
* @deprecated
* @see {@link getAllMethodNames}
* @see getAllMethodNames
*/
scanFromPrototype<T extends Injectable, R = any>(instance: T, prototype: object | null, callback: (name: string) => R): R[];
/**
* @deprecated
* @see {@link getAllMethodNames}
* @see getAllMethodNames
*/
getAllFilteredMethodNames(prototype: object): IterableIterator<string>;
getAllMethodNames(prototype: object | null): string[];
}