4055 Commits

Author SHA1 Message Date
Ryan Cavanaugh
f9923efd09 Merge pull request #9095 from RyanCavanaugh/implicitTypeReferences
Implicit type inclusion changes
2016-06-13 16:33:22 -07:00
Ryan Cavanaugh
90b319fc24 lint 2016-06-13 14:52:41 -07:00
Ryan Cavanaugh
236351d4f0 Add unit test 2016-06-13 14:43:19 -07:00
Nathan Shively-Sanders
8b093128b3 Merge pull request #9036 from Microsoft/primitive-type-guards-are-order-independent
Primitive type guards are order independent
2016-06-13 10:52:06 -07:00
Ryan Cavanaugh
6702e651a3 CR changes 2016-06-13 10:15:29 -07:00
Ryan Cavanaugh
576f09f531 Merge 2016-06-10 15:47:51 -07:00
Ryan Cavanaugh
9827b638b4 Implicit type inclusion changes 2016-06-10 15:44:11 -07:00
Mohamed Hegazy
97d7aa5fb5 Merge pull request #9042 from Microsoft/ES6ModulesES5Target
Fix #6319: Add support for `--t: es5` and  `--m es6`
2016-06-10 10:23:39 -07:00
Andy Hanson
077dfff93b Add tests 2016-06-10 08:03:41 -07:00
Andy Hanson
d973f4d701 Merge branch 'master' into shorthand_ambient_module 2016-06-10 06:08:16 -07:00
Andy Hanson
ff6e025e8a Merge branch 'master' into shorthand_ambient_module 2016-06-10 06:03:54 -07:00
Nathan Shively-Sanders
2b46656b4a Merge pull request #9061 from Microsoft/fix-this-resolution-in-parameter-initializers
Fix this resolution in parameter initializers
2016-06-09 16:20:45 -07:00
Nathan Shively-Sanders
86a6959e2a Merge branch 'master' into primitive-type-guards-are-order-independent 2016-06-09 15:56:34 -07:00
Mohamed Hegazy
f0a430aef8 Code review comments 2016-06-09 15:52:17 -07:00
Nathan Shively-Sanders
a1e4b31d16 Allow null/undefined guard with null/undefined on left
Also add a test with baselines.
2016-06-09 15:48:35 -07:00
Nathan Shively-Sanders
e307295fb9 Resolve function-this in parameter initialisers when explicitly provided 2016-06-09 15:20:51 -07:00
Yui
574a64dec9 Fix7334 Disallow async in functionExpression and ArrowFunction (#9062)
* Error when using async modifier in function-expression and arrow-function when target es5

* Add tests and baselines
2016-06-09 15:01:08 -07:00
Andy
9ffd00d6ff Merge pull request #8939 from Microsoft/pattern_ambient_modules
Allow wildcard ("*") patterns in ambient module declarations
2016-06-09 13:08:02 -07:00
Andy Hanson
a88366d338 Merge branch 'master' into shorthand_ambient_module 2016-06-09 12:52:15 -07:00
Andy Hanson
9fa971091c Add tests for more kinds of import/export 2016-06-09 12:46:52 -07:00
Andy
302cea85ec Merge pull request #9054 from Microsoft/quick_info_meaning
Use proper method of not resolving alias
2016-06-09 12:37:05 -07:00
Andy Hanson
75c1d77606 Merge branch 'master' into shorthand_ambient_module 2016-06-09 11:43:18 -07:00
Andy
512c6719ae Merge pull request #8895 from Microsoft/strip_extension
Allow an import of "foo.js" to be matched by a file "foo.ts"
2016-06-09 11:38:26 -07:00
Andy Hanson
559b49baa9 Improve tests 2016-06-09 11:33:53 -07:00
Andy Hanson
7a2ef428cd Contextually type return statement in async function 2016-06-09 10:55:45 -07:00
Andy
75b82938f5 Merge pull request #8988 from Microsoft/transpile_options
Support using string values in enums for CompilerOptions in transpile
2016-06-09 09:04:23 -07:00
Andy Hanson
b08fe6f4f6 Use proper method of not resolving alias 2016-06-09 08:00:21 -07:00
Andy Hanson
0aa2fe328f Add test for out-of-range error 2016-06-09 05:59:26 -07:00
Anders Hejlsberg
9e122909d4 Merge pull request #9031 from Microsoft/typeGuardIntersectionTypes
Type guard intersection types
2016-06-08 22:14:19 -07:00
Anders Hejlsberg
b1a749895a Fix comment 2016-06-08 18:39:07 -07:00
Mohamed Hegazy
475c1c24fc Add more tests 2016-06-08 17:48:37 -07:00
Mohamed Hegazy
33137f68c5 Add more tests for target=es5 module=es6 2016-06-08 16:46:55 -07:00
Mohamed Hegazy
8360bc7961 Add handleing for classes 2016-06-08 16:43:56 -07:00
Anders Hejlsberg
d182a59782 Fix comments in tests 2016-06-08 16:35:39 -07:00
Anders Hejlsberg
b3c5c1db23 Merge pull request #9013 from Microsoft/typeGuardNestedAssignment
Allow nested assignments in type guards
2016-06-08 16:26:07 -07:00
Anders Hejlsberg
aeb1d97ced Merge pull request #8949 from Microsoft/strictNullLogicalAnd
Improve typing of && operator with --strictNullChecks
2016-06-08 16:24:51 -07:00
Nathan Shively-Sanders
11377f9fd3 Primitive type guards are now order independent 2016-06-08 15:56:25 -07:00
Mohamed Hegazy
17b5415f8c Merge pull request #8428 from Microsoft/stringLiteralCompletions
Add support for completions inside string literals
2016-06-08 14:42:48 -07:00
Nathan Shively-Sanders
9fac99e692 Add test case
The test passes in 1.8 and fails in master.
2016-06-08 14:23:42 -07:00
Mohamed Hegazy
d36d2b3eaa Merge pull request #8771 from YuichiNukiyama/fix8505
add SharedArrayBuffer
2016-06-08 13:27:09 -07:00
Yui
899f667544 Recognize relative path using in outDir property (#9025)
* Recognize relative path using in outDir property

* Add projects tests

* Add project .json files

* Update baselines
2016-06-08 13:20:47 -07:00
Mohamed Hegazy
9027da4d17 Merge branch 'master' into stringLiteralCompletions 2016-06-08 13:19:12 -07:00
Andy Hanson
d8667ae323 Fix test helper 2016-06-08 13:14:22 -07:00
Nathan Shively-Sanders
179d42323a Merge pull request #9010 from Microsoft/merge-jsdoc-of-assignment-and-function-expression
Merge JSDoc of assignments from function expressions
2016-06-08 13:03:03 -07:00
Anders Hejlsberg
a57ee29ff7 Add tests 2016-06-08 11:41:44 -07:00
Nathan Shively-Sanders
1fe6626efa Remove TODO comments 2016-06-08 11:07:42 -07:00
Nathan Shively-Sanders
9832f62f48 Split commentsFunction test into expr/decl
And renumber.
2016-06-08 10:56:52 -07:00
Nathan Shively-Sanders
6bf5f115b6 Improve order of parameter's merged jsdoc 2016-06-08 08:42:38 -07:00
Zhengbo Li
cdf4cded15 Merge pull request #9002 from zhengbli/moreTsserverTests
Add tests for tsserver project system
2016-06-07 21:56:09 -07:00
Anders Hejlsberg
cdf5b7aeb3 Add tests 2016-06-07 17:37:18 -07:00