9 lines
281 B
TypeScript
9 lines
281 B
TypeScript
import { TSESTree } from '@typescript-eslint/types'
|
|
/**
|
|
* Returns if a node is on a single line.
|
|
*
|
|
* @param node - The node to check.
|
|
* @returns True if the node is on a single line, false otherwise.
|
|
*/
|
|
export declare function isNodeOnSingleLine(node: TSESTree.Node): boolean
|