27242 Commits

Author SHA1 Message Date
xiaofa
ddbac8f3fe get appropriate parent jsdoc node for arrow functions 2019-01-26 23:59:32 +08:00
Anders Hejlsberg
7c1bb14c93 Merge branch 'master' into fixContextualReturnTypes 2019-01-26 07:09:14 -08:00
Anders Hejlsberg
25ac1ed262 Merge branch 'master' into fixContextuallyTypedParameters
# Conflicts:
#	src/compiler/checker.ts
2019-01-25 16:43:46 -08:00
Sheetal Nandi
fa74cef81e
Merge pull request #29591 from Microsoft/removeUnnecessaryDeclarations
Do not generate dts files for tsc/tsserver and such when we do not use it at all.
2019-01-25 15:51:13 -08:00
Wesley Wigham
4da9d8bc87
Include index signatures of the source in mapped type template target inferences (#29253) 2019-01-25 15:22:35 -08:00
Wesley Wigham
5f782bf58a
Fixup restrictive instantiations to actually erase type parameter constraints (#29592) 2019-01-25 15:18:07 -08:00
Sheetal Nandi
ff027d41c9 Handle triple slash refs 2019-01-25 14:31:41 -08:00
Sheetal Nandi
36eae04120 Handle emit helpers in --out scenario 2019-01-25 14:31:40 -08:00
Sheetal Nandi
c739defe25 Handle prologues in prepend outputs 2019-01-25 14:31:40 -08:00
Sheetal Nandi
a90ff10d8a Tests for multiple prologues 2019-01-25 14:31:39 -08:00
Sheetal Nandi
6e5770928f Handle shebang when using prepend nodes 2019-01-25 14:31:39 -08:00
Sheetal Nandi
607891b78e Generate readable source map baselines for -b --out scenario 2019-01-25 14:31:39 -08:00
Sheetal Nandi
edfc91a6a0 Write testcase to baseline with strict, prologues, shebangs 2019-01-25 14:31:38 -08:00
Sheetal Nandi
e51a2fe80d Skip declaration emit for files that are just executables 2019-01-25 14:24:35 -08:00
Ron Buckton
bd8c6259b9
Merge pull request #29422 from Microsoft/fix29006
Fix crash in getTextOfPropertyName
2019-01-25 14:08:35 -08:00
Ryan Cavanaugh
ebf90871c6
Merge pull request #29584 from yacaovsnc/master
Remove extra http str in badge url
2019-01-25 13:28:14 -08:00
Ron Buckton
df709a2c61
Merge pull request #29583 from Microsoft/gulpTsserver
Add tsserver task to gulp
2019-01-25 10:59:45 -08:00
Wesley Wigham
74d41b926a
Fix crash in watch-local 2019-01-25 10:55:24 -08:00
Ron Buckton
f51939326a Add tsserver task to gulp 2019-01-25 10:52:00 -08:00
Yang Cao
b3f8736316
Remove extra http str in badge url 2019-01-25 13:48:32 -05:00
Anders Hejlsberg
69d104897e Accept new baselines 2019-01-25 09:43:24 -08:00
Anders Hejlsberg
c6ccc5b6cb Address CR feedback 2019-01-25 09:43:12 -08:00
Alan Pierce
beae9d7be9 Accept whitespace change in baseline after merge 2019-01-25 09:31:36 -08:00
Alan Pierce
a60795f04a Merge remote-tracking branch 'origin/master' into enforce-const-enum-access-for-isolatedmodules
This changes the new error code from TS2739 to TS2748.
2019-01-25 09:19:12 -08:00
Anders Hejlsberg
22d46ace7f Don't report circularities when parameter has itself as contextual type 2019-01-25 09:11:59 -08:00
Klaus Meinhardt
680cc3dbf4 accept baseline change 2019-01-25 17:02:00 +01:00
Klaus Meinhardt
6eb83650ea Merge branch 'master' into add-to-types2 2019-01-25 16:56:11 +01:00
Klaus Meinhardt
a9653bb5df Merge branch 'master' of github.com:Microsoft/TypeScript into usedbeforedeclaration-objectspread 2019-01-25 15:50:27 +01:00
Klaus Meinhardt
d7cb14adbd Merge branch 'master' into usedbeforedeclaration-objectspread 2019-01-25 15:49:14 +01:00
Jack Williams
6f30537d13 Simplify type flag check 2019-01-25 09:41:35 +00:00
Jack Williams
b27679eee3 Remove old test file that snuck in 2019-01-25 09:41:35 +00:00
Jack Williams
36cc154985 Narrow to any primitive or object and update tests 2019-01-25 09:41:34 +00:00
Jack Williams
1f2338bd78 Update test file and baselines 2019-01-25 09:41:34 +00:00
Jack Williams
267e5989cd Add narrowing for unknown with strict equal 2019-01-25 09:41:34 +00:00
kingwl
bf42f5bd1c avoid add missing member in declaration file 2019-01-25 12:05:45 +08:00
Wesley Wigham
d16cf761ba
Move random file in root into test folder (#29575) 2019-01-24 17:33:12 -08:00
Anders Hejlsberg
58e39ead4f Accept new baselines 2019-01-24 17:07:53 -08:00
Anders Hejlsberg
1bc4389615 Add tests 2019-01-24 17:07:44 -08:00
Anders Hejlsberg
318678accc Accept new baselines 2019-01-24 17:07:35 -08:00
Sheetal Nandi
45899ad3d9
Merge pull request #29569 from Microsoft/inputFiles
Make getters for js, sourcemap, dts and dts map text for prepend nodes so as to avoid unnecessary multiple file reads
2019-01-24 17:02:40 -08:00
Ron Buckton
469ab3fdd0 Merge branch 'master' into fix29006 2019-01-24 16:50:50 -08:00
Sheetal Nandi
1b12a855e8 Merge branch 'master' into inputFiles 2019-01-24 15:44:45 -08:00
Wesley Wigham
0ddcab3469
Fix master: handle generating type name for late bound dupe message more nicely (#29572)
* Fix master: handle generating type name for late bound dupe message more nicely

* Make literal type casts more specific in many places to better reflect the checks performed
2019-01-24 15:37:13 -08:00
Sheetal Nandi
ec817f55f3 Fix unnecessary union 2019-01-24 15:27:39 -08:00
Ryan Cavanaugh
c779fc7998
Merge pull request #28034 from disisisid/master
Typo fix in src/lib/README.md
2019-01-24 14:45:31 -08:00
Ryan Cavanaugh
04cb422abf
Merge pull request #28124 from sanket0896/patch-1
Fixed typos in spec.md
2019-01-24 14:44:05 -08:00
Ryan Cavanaugh
61b07e7bc5
Merge pull request #28181 from superkd37/patch-1
Update .mailmap
2019-01-24 14:40:55 -08:00
Ryan Cavanaugh
66e44eef71
Merge pull request #27991 from manishbansal8843/gulpfile-correction-for-word2mdconversion
Correcting the order of passing arguments to word2mdJs for the task generating spec.md
2019-01-24 14:38:32 -08:00
Ryan Cavanaugh
1a742e6f27
Merge pull request #27918 from collin5/b27914
Improve error message for duplicate property with computed name
2019-01-24 14:35:51 -08:00
Sheetal Nandi
399f987918 Add todos for sourcemap that accidently got reverted. 2019-01-24 13:54:45 -08:00