nodes.d.ts 2.5 KB

12345678910111213141516171819202122
  1. import type { TSESTree } from '@typescript-eslint/experimental-utils';
  2. export declare function isArrowFunctionExpression(node: TSESTree.Node | undefined): node is TSESTree.ArrowFunctionExpression;
  3. export declare function isAssignmentExpression(node: TSESTree.Node | undefined): node is TSESTree.AssignmentExpression;
  4. export declare function isBinaryExpression(node: TSESTree.Node | undefined): node is TSESTree.BinaryExpression;
  5. export declare function isBlockStatement(node: TSESTree.Node | undefined): node is TSESTree.BlockStatement;
  6. export declare function isBooleanLiteral(node: TSESTree.Node | undefined): node is TSESTree.Literal;
  7. export declare function isCallExpression(node: TSESTree.Node | undefined): node is TSESTree.CallExpression;
  8. export declare function isConditionalExpression(node: TSESTree.Node | undefined): node is TSESTree.ConditionalExpression;
  9. export declare function isContinueStatement(node: TSESTree.Node | undefined): node is TSESTree.ContinueStatement;
  10. export declare function isExpressionStatement(node: TSESTree.Node | undefined): node is TSESTree.ExpressionStatement;
  11. export declare function isFunctionDeclaration(node: TSESTree.Node | undefined): node is TSESTree.FunctionDeclaration;
  12. export declare function isFunctionExpression(node: TSESTree.Node | undefined): node is TSESTree.FunctionExpression;
  13. export declare function isIdentifier(node: TSESTree.Node | undefined): node is TSESTree.Identifier;
  14. export declare function isIfStatement(node: TSESTree.Node | undefined): node is TSESTree.IfStatement;
  15. export declare function isLiteral(node: TSESTree.Node | undefined): node is TSESTree.Literal;
  16. export declare function isLogicalExpression(node: TSESTree.Node | undefined): node is TSESTree.LogicalExpression;
  17. export declare function isMemberExpression(node: TSESTree.Node | undefined): node is TSESTree.MemberExpression;
  18. export declare function isModuleDeclaration(node: TSESTree.Node | undefined): node is TSESTree.ExportAllDeclaration | TSESTree.ExportDefaultDeclaration | TSESTree.ExportNamedDeclaration | TSESTree.ImportDeclaration;
  19. export declare function isObjectExpression(node: TSESTree.Node | undefined): node is TSESTree.ObjectExpression;
  20. export declare function isReturnStatement(node: TSESTree.Node | undefined): node is TSESTree.ReturnStatement;
  21. export declare function isThrowStatement(node: TSESTree.Node | undefined): node is TSESTree.ThrowStatement;
  22. export declare function isVariableDeclaration(node: TSESTree.Node | undefined): node is TSESTree.VariableDeclaration;