UNPKG

eslint-plugin-perfectionist

Version:

ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, etc.

13 lines (12 loc) 433 B
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