eslint-plugin-o1js
Version:
o1js rules for ESLint
20 lines (19 loc) • 1.99 kB
TypeScript
import type { TSESTree } from '@typescript-eslint/experimental-utils';
export declare function isIdentifier(node: TSESTree.Node): node is TSESTree.Identifier;
export declare function isLiteral(node: TSESTree.Node): node is TSESTree.Literal;
export declare function isFunctionDeclaration(node: TSESTree.Node | undefined): node is TSESTree.FunctionDeclaration;
export declare function isFunctionExpression(node: TSESTree.Node | undefined): node is TSESTree.FunctionExpression;
export declare function isMethodDefinition(node: TSESTree.Node | undefined): node is TSESTree.MethodDefinition;
export declare function isArrowFunctionExpression(node: TSESTree.Node | undefined): node is TSESTree.ArrowFunctionExpression;
export declare function isVariableDeclarator(node: TSESTree.Node | undefined): node is TSESTree.VariableDeclarator;
export declare function isCallExpression(node: TSESTree.Node | undefined): node is TSESTree.CallExpression;
export declare function isMemberExpression(node: TSESTree.Node | undefined): node is TSESTree.MemberExpression;
export declare function isConditionalExpression(node: TSESTree.Node | undefined): node is TSESTree.ConditionalExpression;
export declare function isIfStatement(node: TSESTree.Node | undefined): node is TSESTree.IfStatement;
export declare function isThrowStatement(node: TSESTree.Node | undefined): node is TSESTree.ThrowStatement;
export declare function isClassDeclaration(node: TSESTree.Node | undefined): node is TSESTree.ClassDeclaration;
export declare function isPropertyDefinition(node: TSESTree.Node | undefined): node is TSESTree.PropertyDefinition;
export declare function isProgramStatement(node: TSESTree.Node | undefined): node is TSESTree.ProgramStatement;
export declare function isTSTypeReference(node: TSESTree.Node): node is TSESTree.TSTypeReference;
export declare function isTSArrayType(node: TSESTree.Node): node is TSESTree.TSArrayType;
export declare function hasExportNamedDeclaration(node: TSESTree.Node): boolean;