TypeScript/src
Eli Barzilay 746bdb7946 Fix getContextualTypeForBindingElement for arrays
When handling an array type, the lookup should use the position index
instead of the identifier name.

Also uncomment the tests in the `staticFieldWithInterfaceContext.ts`
test which failed because of this bug.

Fixes #40158.
2020-08-26 16:28:50 -04:00
..
cancellationToken Use fs.existsSync to check for cancellation (#36190) 2020-01-15 12:53:40 -08:00
compat Move deprecated jsdoc tags to compat/deprecations.ts 2020-07-07 14:01:27 -07:00
compiler Fix getContextualTypeForBindingElement for arrays 2020-08-26 16:28:50 -04:00
debug Allow assignments to a narrowable reference to be considered narrowable 2020-07-29 16:37:25 -07:00
executeCommandLine Merge branch 'master' into migrateMapsAndSets 2020-07-07 13:53:46 -07:00
harness Fix lack of error on default export of nonexistant name (#40094) 2020-08-17 15:30:19 -07:00
instrumenter
jsTyping Merge branch 'master' into migrateMapsAndSets 2020-07-07 13:53:46 -07:00
lib Fix typo in (Readonly)Set.keys comment (fixes #40164) (#40176) 2020-08-21 09:15:29 -07:00
loc/lcl LEGO: check in for master to temporary branch. 2020-08-26 18:11:08 +00:00
server Revert to including only open files in partial semantic server mode (#40026) 2020-08-12 20:45:59 -07:00
services fix(10019): allow renaming labels (#40064) 2020-08-18 01:04:49 -07:00
shims Switch to ES Map/Set internally (#33771) 2020-06-26 10:12:47 -07:00
testRunner Add unit tests for VersionRange (#40114) 2020-08-18 13:06:17 -07:00
tsc Refactor node factory API, use node factory in parser (#35282) 2020-06-16 16:55:03 -07:00
tsserver Renames in servermode per feedback (#39883) 2020-08-05 12:19:15 -07:00
tsserverlibrary Refactor node factory API, use node factory in parser (#35282) 2020-06-16 16:55:03 -07:00
typescriptServices Refactor node factory API, use node factory in parser (#35282) 2020-06-16 16:55:03 -07:00
typingsInstaller Merge branch 'master' into migrateMapsAndSets 2020-07-07 13:53:46 -07:00
typingsInstallerCore Merge branch 'master' into migrateMapsAndSets 2020-07-07 13:53:46 -07:00
watchGuard add .eslintrc for src and scripts. update typescript-eslint 2019-08-14 12:34:16 +03:00
.eslintrc.json Remove distinction between CI lint and local lint (#36430) 2020-01-24 16:23:14 -08:00
tsconfig-base.json Improve type checking and inference for Generators and Async Generators (#30790) 2019-07-03 21:55:59 -07:00
tsconfig-library-base.json
tsconfig-noncomposite-base.json
tsconfig.json Add external mapShim/debug modules (#33712) 2019-10-07 13:31:07 -07:00