Files

13 lines
433 B
TypeScript

import { TSESTree } from '@typescript-eslint/types'
/**
* Check if a range contains another range.
*
* @param includingRange - The range that may include the other range.
* @param subRange - The range to check if it is included.
* @returns True if the includingRange contains the subRange, false otherwise.
*/
export declare function rangeContainsRange(
includingRange: TSESTree.Range,
subRange: TSESTree.Range,
): boolean