* Support getting string literal completions based on a type argument constraint
* Fix bug: look for require call before argument info
* Code review
* @sandersn code review
* Remove test cast
* Reduce completions.ts diff
* @weswigham review
* Remove getTypeArgumentConstraint's dependence on checkTypeArgumentConstraints
* Remove TODO
* Changed "Duplicate Identifier" to "enum can only be merged..."
when either declaration of the identifier is an enum.
Partial (?) fix for #529
Not sure if the new test is necessary, all the cases seem to have been covered by others tests.
* picked a nit
* Give MethodDeclaration and MethodSignature parent types
* And fix code that used MethodDeclaration for parameter that might be a MethodSignature
* Move type check back inside checkGrammarArrowFunction
* Use getAllowSyntheticDefaultImports to access `--allowSyntheticDefaultImport` value
* Fix#21788: Handel missing imporotClause case
* Fix#21789: Add a defensive check to forgottenThisPropertyAccess code fix for non-identifier locations
* Do not suggest prefix with `this` if the name we are looking for is diffrent from the errorLocation
* Fix#21796: Handel case of unknown module
* Add check to capture more info for #21800
* Fix#21807: check for symbol before looking up its flags
* Fix#21812: Gracefully fail if the token is not `this`.
* Print deferred mapped symbols 1 level deep
Previously, deferred mapped symbols would not print their type at all;
it would always print as `any`. This differed from the older behaviour
that printed it forever if necessary. As a compromise, we now print
deferred mapped symbosl 1 level deep before giving up and printing
`any`. This should cover the most common uses of mapped types.
* Use context flags instead of a global
* Add `-dev` to version patch number in master
* Refactor to handel non-identifier tokens for UMD modules
* Be more graceful handeling non-identifier tokens in import fixes
* Fix bad merge
* Remove check for isIdentifier
* Move insertSorted from server to core, use for diagnostic collections
* All keep the overall list sorted, too
* Increase timeout for js verification
* Use knowledge of how diagnostics are sorted to make all diagnostic list creation lazy and more efficient
* Staunchly avoid array allocation in favor of resizing an existing array
* fix: `matchedText` was not properly extract the correct parts from the candidate
closes: #21636
* core: replace `substr` with `substring` in `matchedText`
* test: remove redundant code from tests