16610 Commits

Author SHA1 Message Date
Kanchalai Tanglertsampan
489349e089 Add new tests and baselines 2017-02-24 11:42:08 -08:00
Kanchalai Tanglertsampan
abeb2a9364 Update baseline: emit prologue directives before anything else 2017-02-24 11:40:15 -08:00
Kanchalai Tanglertsampan
097bc77d0b Emit unique prologue directives at the top of bundle output file 2017-02-24 11:37:34 -08:00
Kanchalai Tanglertsampan
d219f8afc5 Fix comment 2017-02-23 15:31:19 -08:00
Kanchalai Tanglertsampan
231c3cb8ab Emit first encounter shebang at the top of a output file 2017-02-23 15:27:22 -08:00
Kanchalai Tanglertsampan
eca4af5029 When making unit test only include non empty line. This is crucial because it will allow us to test shebang which has to be the first line 2017-02-23 15:26:30 -08:00
Arthur Ozga
65da012527 Merge pull request #14158 from aozgaa/QuickFixPeriods
Add periods to diagnostic messages
2017-02-22 16:15:34 -08:00
Vladimir Matveev
eb34f0ca03 a few fixed in printer/factory (#14239) 2017-02-22 15:24:29 -08:00
Nathan Shively-Sanders
746c45ccd9 Merge pull request #14250 from Microsoft/fix-crash-in-isConstructorType
isConstructorType checks base constraint for undefined
2017-02-22 14:31:33 -08:00
Nathan Shively-Sanders
dbaf1f6756 isConstructorType checks base constraint for undefined
Previously, it assumed there was always a base constraint, which is true
for correct code. For incorrect code, the base constraint may be
missing, which caused a crash because the base constraint was undefined.
2017-02-22 14:16:20 -08:00
Yui
31c4ad193f Merge pull request #14216 from Microsoft/master-fix13526
[Master] Fix13526 allow JSX attributes to be union type
2017-02-22 11:01:08 -08:00
Kanchalai Tanglertsampan
cabaeae4c7 Add tests and update baaselines 2017-02-21 14:29:22 -08:00
Kanchalai Tanglertsampan
994ddacae2 Allow JSX attributes to be union types 2017-02-21 14:28:46 -08:00
Vladimir Matveev
359823b4be ignore request for codefixes with no error codes (#14215) 2017-02-21 13:59:33 -08:00
Arthur Ozga
b0d916bd99 manually accept baselines 2017-02-21 12:13:15 -08:00
Vladimir Matveev
dca368b719 handle the case when conversion of tsconfig.json failed (#14160) 2017-02-21 10:27:50 -08:00
Daniel Rosenwasser
b4d2b1db0d Merge pull request #14181 from staxmanade/patch-2
Fix spelling
2017-02-20 10:03:54 -08:00
Jason Jarrett
e2222b2680 Update protocol.ts 2017-02-19 22:14:39 -08:00
Ron Buckton
2d62245607 Merge pull request #14163 from Microsoft/fix14151
Fix for-await-of emit in async function
2017-02-17 18:26:56 -08:00
Ron Buckton
7d77c2bc18 Fix for-await-of emit in async function 2017-02-17 18:01:13 -08:00
Mohamed Hegazy
2804154778 Merge pull request #14162 from Microsoft/Fix14136
Fix #14136: Make `Object.create` return `any` all the time
2017-02-17 17:14:15 -08:00
Mohamed Hegazy
a89c62a268 Fix #14136: Make Object.create return any all the time 2017-02-17 16:47:51 -08:00
Arthur Ozga
7b58be779b update baselines 2017-02-17 14:21:35 -08:00
Arthur Ozga
5af5358f3a update unit tests 2017-02-17 14:21:15 -08:00
Arthur Ozga
f3b80b75a5 add periods 2017-02-17 14:20:51 -08:00
Ron Buckton
ef25b25c1f Merge pull request #13940 from Microsoft/publicTransformers
Expose public API for transformation.
2017-02-16 18:07:51 -08:00
Ron Buckton
4db86f78b0 Merge branch 'master' into publicTransformers 2017-02-16 17:52:57 -08:00
Ron Buckton
67a004195a Minor factory cleanup 2017-02-16 17:42:58 -08:00
Ron Buckton
03b9066b7d Merge pull request #12346 from Microsoft/asyncGenerators
Async Iteration and down-level Generators
2017-02-16 17:40:39 -08:00
Ron Buckton
11f58ea2f0 Minor fixes after merging from master 2017-02-16 17:31:26 -08:00
Ron Buckton
cf72ceb093 Merge branch 'master' into asyncGenerators 2017-02-16 17:22:43 -08:00
Ron Buckton
344a9d274d PR feedback 2017-02-16 17:16:27 -08:00
Ron Buckton
6ff081fea6 Merge branch 'master' into publicTransformers 2017-02-16 14:33:01 -08:00
Ron Buckton
511cc41e56 Better strictNullChecks support for TransformationContext 2017-02-16 14:13:59 -08:00
Ron Buckton
af18df3fe8 Simplify visitNode 2017-02-16 14:11:53 -08:00
Arthur Ozga
8a5bebe4de Merge pull request #14097 from aozgaa/MissingPropertyFix
Missing property fix
2017-02-16 14:04:51 -08:00
Andy
f2f462f491 Merge pull request #14129 from Microsoft/default_import_name
Handle undefined import name
2017-02-16 14:03:16 -08:00
Ron Buckton
0243510315 clean up trailing whitespace 2017-02-16 13:56:32 -08:00
Ron Buckton
fd320b0f83 Support strictNullChecks mode in visitors 2017-02-16 13:48:32 -08:00
Arthur Ozga
6e198f9c51 Merge branch 'master' into MissingPropertyFix 2017-02-16 13:40:27 -08:00
Arthur Ozga
1b6cf97766 widen type, index signature, and add tests 2017-02-16 13:37:35 -08:00
Andy Hanson
7fd711c81d Handle undefined import name 2017-02-16 13:10:03 -08:00
Ron Buckton
0f495fb694 Merge branch 'strictNullFactories' into publicTransformers 2017-02-16 12:41:58 -08:00
Ron Buckton
3a7874f138 Update factories to work with strictNullChecks 2017-02-16 12:32:17 -08:00
Mohamed Hegazy
6c58938743 Merge pull request #13648 from Microsoft/functionAndClassProperties
Function and class properties
2017-02-16 12:27:14 -08:00
Nathan Shively-Sanders
2e466c6d8f Merge pull request #14122 from Microsoft/jsx-spread-calls-isValidSpreadType
call isValidSpreadType in createJsxAttributesTypeFromAttributesProperty
2017-02-16 11:13:34 -08:00
Vladimir Matveev
0627881e05 add release-2.2 (approved by @mhegazy) 2017-02-16 11:01:28 -08:00
Nathan Shively-Sanders
bef1f9e87f call isValidSpreadType in createJsxAttributesTypeFromAttributesProperty
Previously, it only check for object and any types. This was the old
check, so this change updates it to use isValidSpreadType.
2017-02-16 10:41:35 -08:00
Vladimir Matveev
8c54bbaa04 use separate process to probe if drive is safe to watch (#14098)
use dedicated process to determine if it is safe to watch folders
2017-02-16 10:32:01 -08:00
Vladimir Matveev
c90040effb Merge pull request #14113 from Microsoft/vladima/update-gulp-ts
update gulp-typescript to 3.1.5
2017-02-16 07:52:27 -08:00