mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 11:35:42 -06:00
* Spelling correction fixes should not be case-agnostic when two equally weighed options occur. fixes #17219 * update tests * Update src/compiler/core.ts Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> * init bestCaseSensitiveDistance lazily * Add a test case with a class named the same as an instance, except for case * make the core levenshtein distance check case-aware * Update package-lock.json * use fractional Levenshtein distance * fix weight of Levenshtein distance * Update package-lock.json * Update package-lock.json * Update package-lock.json * Update package-lock.json * Update package-lock.json * Update package-lock.json * Update package-lock.json * Update package-lock.json * Update package-lock.json * Update package-lock.json * Update package-lock.json * Update package-lock.json * Update package-lock.json * Update package-lock.json * Update src/compiler/core.ts Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> * refactor * Update package-lock.json * revert unnecessary changes * Update package-lock.json * increase bestDistance * increase bestDistance again * make changes minimal * Update package-lock.json * Update package-lock.json * Update package-lock.json Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com> Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>