Function: getTypeOfNode()
getTypeOfNode(
node:Readonly<Node>,context:RuleContext<string,BaseOptions>):Type|null
Defined in: util/rule.ts:80
Resolve the TypeScript type for an ESTree node when parser services are
available; otherwise return null.
Parametersâ
nodeâ
Readonly<Node>
ESTree node to inspect.
contextâ
RuleContext<string, BaseOptions>
ESLint rule context.
Returnsâ
Type | null
TypeScript type or null when type information is unavailable.