Commit graph

19799 commits

Author SHA1 Message Date
Mohamed Hegazy
7e1dd66c19 Update to use help wanted instead of Accepting PRs (#19105) 2017-10-11 13:44:07 -07:00
Nathan Shively-Sanders
461e29bbd8 Merge pull request #18965 from Microsoft/set-symbol-on-union-of-spreads
Set symbol on union that is returned from `getSpreadType`
2017-10-11 13:25:45 -07:00
Ron Buckton
73d06f796d Merge pull request #19056 from Microsoft/fix16221
Fix recursive reference in type parameter default
2017-10-11 12:49:35 -07:00
Sheetal Nandi
bce77fdfd9 Merge pull request #18960 from Microsoft/builderHandlesChangeInResolution
Builder handles changes in resolution/references when file's contents dont change
2017-10-11 12:11:44 -07:00
Ron Buckton
26290a88ac Updated error baseline 2017-10-11 12:07:16 -07:00
Ron Buckton
d08770bdff Merge pull request #19046 from Microsoft/fix15395
Fix emit for classes with both fields and 'extends null'
2017-10-11 11:49:22 -07:00
Sheetal Nandi
142a88a4ae Update the comment on emit handler method 2017-10-11 10:51:46 -07:00
Andy
e85c6330ba Add package-lock.json to repository (#19099) 2017-10-11 10:03:53 -07:00
Andy
0c4fe37a92 In issue template, recommend to use typescript@next (#19098) 2017-10-11 10:03:29 -07:00
Charles Pierce
576bd8c25f Ensure Async Modifier is maintained through ES6 Class Conversion (#19092) 2017-10-11 09:04:51 -07:00
Nathan Shively-Sanders
de68f067d5 Set flags on fresh object types from getSpreadType
Previously, getSpreadType didn't set any flags and relied on its callers
to do so. This was error-prone because getSpreadType often returns
non-fresh types.
2017-10-11 08:17:40 -07:00
Sheetal Nandi
993890f06c Verify errors more correctly in tsc-watch mode 2017-10-10 21:11:33 -07:00
Sheetal Nandi
9767d77143 Update comment on emit handler functions 2017-10-10 18:41:45 -07:00
Sheetal Nandi
a7fa187fb2 Merge pull request #19058 from Microsoft/whenWatchesFail
Swallow the directory watcher exceptions and ignore them
2017-10-10 18:32:22 -07:00
Wesley Wigham
d0168af142 Functioning parallel unittests (#18956) 2017-10-10 17:59:43 -07:00
Wesley Wigham
856961b84c Add regression test for #18668 (#19085) 2017-10-10 17:20:10 -07:00
Sheetal Nandi
d7269f1386 Merge pull request #19053 from Microsoft/resolutionCacheDefensiveChecks
Resolution cache defensive checks
2017-10-10 17:18:53 -07:00
Sheetal Nandi
52d7c7278d Add comment about swallowing exception 2017-10-10 17:16:53 -07:00
Sheetal Nandi
e30a66d22f Add utitlity for stringContains 2017-10-10 17:16:39 -07:00
Wesley Wigham
edf0a95e89 Stop erroneous match of midfile sourceMappingUrl (#19084) 2017-10-10 16:41:54 -07:00
Sheetal Nandi
55bbcff348 Modify the changesAffectModuleResolution check 2017-10-10 16:36:09 -07:00
Andy
d086b637c5 Remove removeWhere (#19082) 2017-10-10 15:52:41 -07:00
Sheetal Nandi
61dd815ebc Merge pull request #19072 from Microsoft/completionInClassMember
Handle the case of completion of class member when member name is being edited
2017-10-10 15:45:11 -07:00
Charles Pierce
249c2cbaf7 Maintain Export Modifier when Refactoring to ES6 Class #18435 (#19070) 2017-10-10 15:39:59 -07:00
Wesley Wigham
611e0f7b4a Do not rely on parent pointers in the binder (#19083) 2017-10-10 15:37:05 -07:00
Mohamed Hegazy
75fea4f5c4 Update Authors for TS 2.6 2017-10-10 15:27:43 -07:00
Andrew Casey
d33a9acbcc Merge pull request #18950 from amcasey/MissingMemberFormatting
Improve AddMissingMember formatting
2017-10-10 13:12:05 -07:00
Andy
927ffefcf4 Replace more 'verify.rangeAfterCodeFix' with 'verify.codeFix' (#18800) 2017-10-10 11:28:05 -07:00
Andy
b839e17e17 Improve JSDoc @augments diagnostics (#19011) 2017-10-10 11:27:53 -07:00
Sheetal Nandi
d71406c866 Merge branch 'master' into resolutionCacheDefensiveChecks 2017-10-10 11:02:46 -07:00
Sheetal Nandi
3171d082a6 Handle the case of completion of class member when member name is being edited
Fixes #17977
2017-10-10 10:58:21 -07:00
Andy
9ccc1b4887 Remove unnecessary uses of any in shims.ts (#19038) 2017-10-10 10:54:29 -07:00
Andy
3eeb54861d Fix invalid cast (#18821) 2017-10-10 10:53:43 -07:00
Sheetal Nandi
67a6a9477f Merge pull request #16586 from Microsoft/projectRootAsCurrentDirectoryInEmit
Use the project root or the directory of current script info as the current directory to emit the file
2017-10-10 10:28:14 -07:00
Ron Buckton
62d045f1a2 Merge pull request #19057 from Microsoft/fix17564
Fix 'this' capturing for dynamic import
2017-10-10 10:21:43 -07:00
Ron Buckton
dca6e33ac7 baseline updates 2017-10-10 10:03:18 -07:00
Ron Buckton
1125e0a966 Merge branch 'master' into fix17564 2017-10-10 09:47:04 -07:00
Sheetal Nandi
98d58d6517 Handle project close to release all the script infos held by the project 2017-10-09 20:12:53 -07:00
Sheetal Nandi
aa22c56282 Swallow the directory watcher exceptions 2017-10-09 18:04:14 -07:00
Ron Buckton
dc607c29b4 Fix 'this' capturing for dynamic import 2017-10-09 17:15:13 -07:00
falsandtru
d23e5f1ee2 Fix Array.{reduce,reduceRight} methods (#18987) 2017-10-09 17:11:31 -07:00
Wesley Wigham
17a1cd069d Add deprecation warning to getSymbolDisplayBuilder (#18953)
* Add deprecation warning to getSymbolDisplayBuilder

* Accept API baselines
2017-10-09 16:55:20 -07:00
Sheetal Nandi
b9592d4186 Use the parent most node_modules directory for module resolution failed lookup locations 2017-10-09 15:59:27 -07:00
Ron Buckton
aaa06122b9 Fix recursive reference in type parameter default 2017-10-09 15:44:06 -07:00
Sheetal Nandi
6887dbc750 Assert if the script info that is attached to closed project is present
Adds assertion to investigate #19003 and #18928
2017-10-09 15:25:01 -07:00
Arthur Ozga
1db762356e Merge pull request #18706 from aozgaa/dev/aozgaa/JsDocExtendsSupport
support @extends in jsdoc
2017-10-09 15:08:58 -07:00
falsandtru
661ecc241e Improve Object.{values,entries} static methods (#18875) 2017-10-09 15:08:22 -07:00
Arthur Ozga
5faa739483 Merge pull request #18674 from aozgaa/dev/aozgaa/exceptionEvent
add error message test
2017-10-09 15:01:40 -07:00
Joe Calzaretta
bb3467b8e1 Handle type guard predicates on Array<T>.find (#18160)
* Handle type guard predicates on `Array<T>.find`

If the `predicate` function passed to `Array<T>.find` or `ReadonlyArray<T>.find`
is a type guard narrowing `value` to type `S`, then any returned element should also
be narrowed to `S`.

Adding test case and associated baselines

* trailing whitespace after merge conflict
2017-10-09 14:58:41 -07:00
Arthur Ozga
5f3d6e753e update baselines 2017-10-09 14:43:51 -07:00