eslint-plugin-obsidian
Version:
ESLint rules for Obsidian
18 lines • 768 B
TypeScript
import type { TSESTree } from '@typescript-eslint/types';
import { Decorator } from './decorator';
import { Method } from './method';
export declare class Clazz {
node: TSESTree.ClassDeclaration;
constructor(node: TSESTree.ClassDeclaration);
get isAbstract(): boolean;
isDecoratedWithIgnoreCase(decoratorName: string): boolean;
get decoratorNames(): string[];
get decorators(): Decorator[];
get superClass(): string | null;
get body(): TSESTree.ClassElement[];
mapDecoratedMethods<T>(decoratorName: string, mapper: (method: Method) => T): T[];
getDecoratedMethods(decoratorName: string): Method[];
requireDecoratorIgnoreCase(name: string): Decorator;
get name(): string | undefined;
}
//# sourceMappingURL=class.d.ts.map