Ryan Cavanaugh
53106cb5ed
Change logic in identifying SFCs
...
Our logic for detecting SFC vs Element Class had a few issues:
* Object Type flag is not actually useful
* Parameter arity isn't actually relevant
* The check for Element Class should take priority
Fixes #6349 and #6353
2016-01-04 23:00:22 -08:00
vladima
635201c02a
Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution
2016-01-04 21:50:44 -08:00
Daniel Rosenwasser
7ce819f4c7
Accepted baselines.
2016-01-04 23:02:11 -05:00
Daniel Rosenwasser
5323fa6783
Added tests for LHS expressions.
2016-01-04 23:00:45 -05:00
Daniel Rosenwasser
b0576cdf8e
Accepted baselines.
2016-01-04 22:55:05 -05:00
Daniel Rosenwasser
06bff434cc
Added 'noImplicitAny' to tests.
2016-01-04 22:48:53 -05:00
Daniel Rosenwasser
4484ca062e
Accepted baselines.
2016-01-04 22:39:47 -05:00
Daniel Rosenwasser
24a108936f
Added tests.
2016-01-04 22:39:31 -05:00
Vladimir Matveev
ad890522f6
added tests for tsx formatting
2016-01-04 13:59:27 -08:00
Vladimir Matveev
39a50fa8a3
merge with origin/master
2016-01-04 12:07:26 -08:00
Daniel Rosenwasser
2cb7ab9692
Merge pull request #6232 from Microsoft/contextuallyTypeJsxStringLiteralAttributes
...
Contextually type JSX string literal attributes
2016-01-04 14:50:09 -05:00
Mohamed Hegazy
669e733f3c
accept baseline
2016-01-04 11:28:49 -08:00
Mohamed Hegazy
996f16940e
Merge pull request #6098 from guybedford/master
...
Naive implementation for #6097
2016-01-04 09:38:27 -08:00
Ryan Cavanaugh
0debd2b6cd
Merge pull request #6290 from RyanCavanaugh/fix5865
...
Tag 'react' import as used if it exists when targeting --jsx preserve
2016-01-04 07:47:01 -08:00
Wesley Wigham
7bb2ee56d0
Fix #6277 - stop looking for any specifically, and use isTypeSubtypeOf like the old code
2016-01-03 07:43:30 -05:00
Ryan Cavanaugh
6be0206242
Merge pull request #6287 from RyanCavanaugh/fix6241
...
Escape quotes when they appear as HTML entities in JSX text
2016-01-01 09:31:13 -08:00
Ryan Cavanaugh
7aa8ba6ba7
Add test for non-used React import
2016-01-01 09:24:07 -08:00
Daniel Rosenwasser
99b771c016
Merge pull request #4398 from SaschaNaz/formatTsxAttr
...
Fixing JSX/TSX closing tag/attribute/expression formatting
2015-12-30 01:25:21 -05:00
Ryan Cavanaugh
2c4856ae71
Issue correct errors for missing JSX closing tags
...
Fixes #6280
2015-12-29 16:00:15 -08:00
Ryan Cavanaugh
7b36432cf0
Add test to verify no error when 'React' is not in scope
2015-12-29 14:57:22 -08:00
Ryan Cavanaugh
80a16de570
Tag the 'react' import as used even under --jsx preserve
...
Fixes #5865
2015-12-29 14:43:57 -08:00
Ryan Cavanaugh
e12855bca0
Escape quotes when they appear as HTML entities in JSX text
...
Fixes #6241
2015-12-29 12:39:27 -08:00
Daniel Rosenwasser
cee7eb10ed
Accepted baselines.
2015-12-28 16:20:34 -05:00
Daniel Rosenwasser
d9d5e3a283
Added test from #6278 .
2015-12-28 16:18:50 -05:00
Daniel Rosenwasser
decec4db65
Accepted baselines.
2015-12-28 16:10:44 -05:00
Daniel Rosenwasser
5f9983a698
Updated tests.
2015-12-28 15:59:29 -05:00
Daniel Rosenwasser
c8b459f32c
Accepted baselines.
2015-12-28 15:59:27 -05:00
Daniel Rosenwasser
b0f58649ab
Accepted baselines.
2015-12-28 15:59:23 -05:00
Daniel Rosenwasser
0eb6288166
Accepted baselines.
2015-12-28 15:59:18 -05:00
Daniel Rosenwasser
0da676d24c
Added tests.
2015-12-28 15:59:17 -05:00
Vladimir Matveev
7f2ebf928a
use 'declare global' to define augmentations for the global scope
2015-12-28 12:03:54 -08:00
Daniel Rosenwasser
bae09d5d96
Merge branch 'master' into refactorSignatureRelatability
2015-12-23 17:27:55 -08:00
Daniel Rosenwasser
6c8bb63939
Accepted baselines.
2015-12-23 17:10:54 -08:00
Daniel Rosenwasser
4dc85dcbd6
Accepted baselines.
2015-12-23 16:53:02 -08:00
Daniel Rosenwasser
64c96323aa
Added test.
2015-12-23 16:50:24 -08:00
Kanchalai Tanglertsampan
9534541829
Add documenthightlight tests
2015-12-22 20:35:28 -08:00
Kanchalai Tanglertsampan
0682a63979
Add find-all-references tests
2015-12-22 20:26:54 -08:00
Kanchalai Tanglertsampan
05e5516fc0
Add rename tests
2015-12-22 20:02:42 -08:00
Kanchalai Tanglertsampan
8cebdcc758
Add tests for find-all-references
2015-12-22 19:29:49 -08:00
Sheetal Nandi
acf54bb416
Merge branch 'master' into sourceMapDestructuring
2015-12-22 16:21:38 -08:00
Sheetal Nandi
05ef3d5262
Add test cases for breakpoint validation in for of statement with object literal destructuring assignment
2015-12-22 16:18:05 -08:00
Sheetal Nandi
ff00a0c779
Fix breakpoints in object literal pattern destructuring assignment
2015-12-22 16:14:24 -08:00
Sheetal Nandi
db0ab40280
Test cases for object binding pattern destructuring assignment
2015-12-22 15:31:02 -08:00
Sheetal Nandi
82570b7fca
Add test cases for array pattern destructurting assignment in 'for of'
2015-12-22 15:27:14 -08:00
Sheetal Nandi
bda112546f
Fix the breakpoint for comma expression
2015-12-22 15:23:45 -08:00
Sheetal Nandi
481ed321fb
Test cases for array pattern destructuring assignment in for initializer
2015-12-22 15:04:12 -08:00
Sheetal Nandi
35537b5f32
Implement breakpoint spans of array destructuring pattern of destructuring assignment
2015-12-22 14:54:21 -08:00
Vladimir Matveev
4a963a26c3
initial revision of external module augmentations
2015-12-22 13:56:22 -08:00
Nathan Shively-Sanders
7882fd39e7
Merge branch 'master' into allow-type-predicates-as-return-types-only
2015-12-22 11:25:45 -08:00
Vladimir Matveev
a399208d73
Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution
2015-12-22 11:06:18 -08:00