Ron Buckton
c1205ebdfb
Fixed new linter warnings
2016-01-05 10:11:44 -08:00
Daniel Rosenwasser
13804162b3
Merge pull request #6361 from Microsoft/toStringTagLibEs6Dts
...
Use string literal types for '[Symbol.toStringTag]' properties
2016-01-05 13:08:39 -05:00
Daniel Rosenwasser
5248b2ce03
Accepted baselines.
2016-01-05 11:42:04 -05:00
Daniel Rosenwasser
3fd5fd6c59
Updated a test and added a new test for assignability betewen typed arrays.
2016-01-05 11:40:45 -05:00
Daniel Rosenwasser
7d292c41d6
Use string literals for '[Symbol.toStringTag]' properties.
2016-01-05 11:23:45 -05:00
Daniel Rosenwasser
a4dc0f37da
Added '[Symbol.toStringTag]' properties to type arrays.
2016-01-05 11:20:44 -05:00
Daniel Rosenwasser
347359c18e
Added '[Symbol.toStringTag]' property to 'GeneratorFunction'.
2016-01-05 11:08:52 -05:00
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
fec691ec22
Merge pull request #6355 from Microsoft/contextuallyTypeAndAndComma
...
Contextually type '&&' and the comma operator
2016-01-05 00:13:23 -05: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
5ab5cfd2fd
Contextually type the RHS of logical 'and' and comma expressions.
2016-01-04 22:54:37 -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
9a9aa0083e
Merge pull request #6348 from Microsoft/tsxFormattingTests
...
added tests for tsx formatting
2016-01-04 15:23:55 -08:00
Vladimir Matveev
ad890522f6
added tests for tsx formatting
2016-01-04 13:59:27 -08:00
Anders Hejlsberg
2f1b6dc46d
Merge pull request #6345 from Microsoft/langSpecUpdate
...
Updating language specification
2016-01-04 13:07:13 -08:00
Ron Buckton
cde12efec5
Merge branch 'master' into glob2
2016-01-04 12:24:44 -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
Anders Hejlsberg
cca9f9d1e2
Minor formatting fixes
2016-01-04 11:42:30 -08:00
Ron Buckton
c2249177f5
Comment cleanup
2016-01-04 11:37:25 -08:00
Mohamed Hegazy
8abc808332
Merge branch 'master' into langSpecUpdate
2016-01-04 11:29:42 -08:00
Mohamed Hegazy
669e733f3c
accept baseline
2016-01-04 11:28:49 -08:00
Anders Hejlsberg
6fe710f316
Updating language specification
2016-01-04 10:47:23 -08:00
Mohamed Hegazy
996f16940e
Merge pull request #6098 from guybedford/master
...
Naive implementation for #6097
2016-01-04 09:38:27 -08:00
Nathan Shively-Sanders
51fd41b0c7
Merge pull request #6212 from Microsoft/lint-nested-++
...
Lint nested ++
2016-01-04 09:24:21 -08:00
Nathan Shively-Sanders
b01de71d52
Fix lint in services/patternMatcher.ts
2016-01-04 09:04:53 -08:00
Nathan Shively-Sanders
ec4c6fea2d
Merge branch 'master' into lint-nested-++
2016-01-04 08:56:05 -08:00
Nathan Shively-Sanders
710b379cdc
Update lint message to not mention element access.
2016-01-04 08:44:16 -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
Zhengbo Li
55ae18b824
update dom.generated.d.ts with latest version in TSJS repo
2015-12-30 14:23:47 -08:00
Kagami Sascha Rosylight
b53fad6ecf
Merge remote-tracking branch 'refs/remotes/Microsoft/master'
2015-12-30 20:21:54 +09:00
Daniel Rosenwasser
3765349812
Merge pull request #6279 from Microsoft/lintMoreServices
...
Lint more services code
2015-12-30 01:48:43 -05: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
3288f5bb6d
Make linter happy
2015-12-29 13:16:00 -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
2032c6d18a
Lint 'patternMatcher.ts'.
2015-12-28 17:21:03 -05:00
Daniel Rosenwasser
9c61e53a78
Allow tagged boolean arguments to be followed with a colon.
2015-12-28 17:11:55 -05:00
Zhengbo Li
8cf1a34f70
enable more than one callbacks for a watched file
2015-12-28 14:05:32 -08:00
Daniel Rosenwasser
51933a231f
Flattened 'ts.OutliningElementsCollector' to a single declaration.
2015-12-28 17:00:36 -05:00