FUNCTION_LIKE
tcmts.core.ts.FUNCTION_LIKE · #ftgjhfcb · term · runs anywhere
import { SyntaxKind } from "typescript/ast";
export const FUNCTION_LIKE = new Set<SyntaxKind>([
SyntaxKind.MethodSignature,
SyntaxKind.CallSignature,
SyntaxKind.JSDocSignature,
SyntaxKind.ConstructSignature,
SyntaxKind.IndexSignature,
SyntaxKind.FunctionType,
SyntaxKind.ConstructorType,
SyntaxKind.FunctionDeclaration,
SyntaxKind.MethodDeclaration,
SyntaxKind.Constructor,
SyntaxKind.GetAccessor,
SyntaxKind.SetAccessor,
SyntaxKind.FunctionExpression,
SyntaxKind.ArrowFunction,
])
used by