5832 Commits

Author SHA1 Message Date
Vladimir Matveev
f34ba2df0b added cleanup message 2016-06-17 16:22:03 -07:00
Nathan Shively-Sanders
7890fd58b9 Merge pull request #9088 from Microsoft/add-members-to-variable-declarations-initialised-with-function-expressions
Add members to variable declarations initialised with function expressions
2016-06-14 11:37:36 -07:00
Daniel Rosenwasser
8917ddf8a1 Merge pull request #9151 from Microsoft/commonjsShorthands
Fix emit for shorthand properties when they refer to CommonJS exports.
2016-06-14 10:32:20 -07:00
Andy Hanson
33e4c7a9a3 Respond to PR comment 2016-06-14 06:50:44 -07:00
Andy Hanson
f6cee27af9 Emit 'Promise' decorator metadata return type for async methods 2016-06-14 06:11:00 -07:00
Andy
b92a8f2b53 Merge pull request #9144 from Microsoft/decorator_metadata_rest_parameter
Fix decorator metadata emit for rest arg with no type
2016-06-14 05:43:24 -07:00
Wesley Wigham
9d023a83fe Merge pull request #9090 from weswigham/allow-empty-lists-command-line
Allow empty lists on command line
2016-06-14 00:29:15 -07:00
Daniel Rosenwasser
eae289c7b7 Emit 'exports.' if the shorthand is a general export. 2016-06-13 23:33:47 -07:00
Ryan Cavanaugh
f9923efd09 Merge pull request #9095 from RyanCavanaugh/implicitTypeReferences
Implicit type inclusion changes
2016-06-13 16:33:22 -07:00
Ryan Cavanaugh
29f5291453 Refactor 2016-06-13 14:37:07 -07:00
Ryan Cavanaugh
b10d93291f Absolute-ify paths in both places 2016-06-13 14:20:31 -07:00
Andy Hanson
c0c707c37f Fix decorator metadata emit for rest arg with no type 2016-06-13 13:16:13 -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
e8ac1abbd6 Baseline fix, CR comments, lint 2016-06-13 09:33:49 -07:00
york yao
61534225e5 minor fix: add missing return clause 2016-06-13 18:48:39 +08: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
Wesley Wigham
d20459607b
Remove single-comma empty array form 2016-06-10 14:35:13 -07:00
Wesley Wigham
a3a1c49739
Allow empty lists on command line 2016-06-10 14:14:32 -07:00
Nathan Shively-Sanders
642583771d Salsa: get members of variables whose initialisers are functions 2016-06-10 14:10:30 -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
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
Jonathan Toland
6923cba29a Update more diagnostic messages ES6->2015
Fix #8996 CC @mhegazy.
2016-06-09 18:06:35 -10: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
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
Sheetal Nandi
a4991b9e98 Merge pull request #9057 from Microsoft/sourceRootWithInlineSources
Allow --sourceRoot with --inlineSources option
2016-06-09 15:38:21 -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
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
Nathan Shively-Sanders
0c64b0c24e this in parameter initializers resolves to class
Accept baselines now that the test passes.
2016-06-09 12:30:28 -07:00
Sheetal Nandi
b521fd55a4 Allow --sourceRoot with --inlineSources option
Fixes #8445
2016-06-09 11:51:53 -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
03371c0e6f Improve perf 2016-06-09 11:12:12 -07:00
Andy Hanson
5e72b8a098 Undo change 2016-06-09 10:58:38 -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
Anders Hejlsberg
9e122909d4 Merge pull request #9031 from Microsoft/typeGuardIntersectionTypes
Type guard intersection types
2016-06-08 22:14:19 -07:00
Mohamed Hegazy
8360bc7961 Add handleing for classes 2016-06-08 16:43:56 -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
7c1b28f2cb Allow primitive type guards with typeof on right
Previously, only type guards of the form `typeof x === 'string'` were
allowed. Now you can write `'string' === typeof x`.
2016-06-08 15:55:08 -07:00
Mohamed Hegazy
6b8109a501 Merge pull request #8850 from Microsoft/reorderOptions
Reorder options alphabetically
2016-06-08 13:35:00 -07:00
Mohamed Hegazy
d36d2b3eaa Merge pull request #8771 from YuichiNukiyama/fix8505
add SharedArrayBuffer
2016-06-08 13:27:09 -07:00