Files
routie/frontend/node_modules/eslint-plugin-perfectionist/dist/utils/range-contains-range.d.ts
T

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