Refactor to improve types for `lib/assignDisabledRanges.js` (#6014)
Refactor to improve types for `lib/assignDisabledRanges.js` (#6014)

This change aims to fix errors by the TypeScript compiler option `noUncheckedIndexedAccess`.

stylelint/stylelint,stylelint/stylelint,stylelint/stylelint,stylelint/stylelint