eslint-plugin-obsidian
Version:
ESLint rules for Obsidian
18 lines • 781 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 isGraph(): boolean;
isDecoratedWithIgnoreCase(decoratorName: string): boolean;
requireMethodParameter(methodName: string, parameterName: string): import("./parameter").Parameter;
requireMethod(name: string): Method;
findMethod(name: string): Method | undefined;
get decoratorNames(): string[];
get decorators(): Decorator[];
get body(): TSESTree.ClassElement[];
getDecoratedMethodsIgnoreCase(decoratorName: string): Method[];
getMethods(): Method[];
}
//# sourceMappingURL=class.d.ts.map