Commit Graph

10142 Commits

Author SHA1 Message Date
Ryan Cavanaugh
8e3daa4b07 Merge remote-tracking branch 'upstream/master' into jsDoc2 2016-01-07 15:57:30 -08:00
Mohamed Hegazy
26d0fd0bdb Merge branch 'rwyborn-react-factory-option' 2016-01-07 15:01:31 -08:00
Mohamed Hegazy
8f273dca62 Fix whitespaces 2016-01-07 15:01:00 -08:00
Mohamed Hegazy
ec70105c9d Add check for reactNamespace value 2016-01-07 15:00:50 -08:00
Mohamed Hegazy
9b92697a61 Add new helper to check for valid identifiers 2016-01-07 14:56:05 -08:00
Mohamed Hegazy
1e433bfb4f Add tests 2016-01-07 14:33:47 -08:00
Mohamed Hegazy
cc1947b94f Rename jsxNamespace to reactNamespace 2016-01-07 13:59:25 -08:00
Mohamed Hegazy
c0b28a3a40 Merge branch 'react-factory-option' of https://github.com/rwyborn/TypeScript into rwyborn-react-factory-option
Conflicts:
	src/compiler/checker.ts
2016-01-07 13:50:03 -08:00
Mohamed Hegazy
54aedf035d Merge pull request #6202 from SaschaNaz/formatTemplateOptional
Optionally insert spaces between template string braces
2016-01-07 13:45:29 -08:00
Mohamed Hegazy
cefb741d9d Merge branch 'master' into fixFindReferencesOnExports 2016-01-07 13:31:22 -08:00
Mohamed Hegazy
9b01783e2d Add test for renaming accorss modules using export= 2016-01-07 13:31:14 -08:00
Mohamed Hegazy
cdc33f51d2 Code review comments 2016-01-07 13:30:54 -08:00
Anders Hejlsberg
a0fcc0f45a Accepting new baselines 2016-01-07 10:40:02 -08:00
Anders Hejlsberg
3344a42686 Check for numeric index signature instead of array-like type
Better error message when object with numeric index signature is indexed with a string
2016-01-07 10:34:22 -08:00
Daniel Rosenwasser
93e942ee0f Merge pull request #6235 from SaschaNaz/maintainShims
Remove "This should be removed once ..." lines from shims.ts
2016-01-07 12:52:27 -05:00
Kagami Sascha Rosylight
4ef8e0bb73 remove unneeded comment 2016-01-08 02:25:29 +09:00
Kagami Sascha Rosylight
5cafd962e9 thinner arrows 2016-01-08 02:24:32 +09:00
Kagami Sascha Rosylight
5144603b3b const everywhere 2016-01-08 02:16:14 +09:00
Kagami Sascha Rosylight
f0a4d6fd0b enclose entryName 2016-01-08 02:00:20 +09:00
Kagami Sascha Rosylight
4f2f00f63f resolve conflicts 2016-01-08 01:49:11 +09:00
Kagami Sascha Rosylight
3672fb5476 Merge remote-tracking branch 'refs/remotes/Microsoft/master' into maintainShims 2016-01-08 01:37:22 +09:00
Anders Hejlsberg
537fb4a7c5 Merge branch 'master' into forInChecking 2016-01-06 17:42:14 -08:00
Anders Hejlsberg
1798024f4f Updating tests 2016-01-06 16:13:02 -08:00
Anders Hejlsberg
120569afb0 Support for-in both with and without variable declaration 2016-01-06 16:12:49 -08:00
Ryan Cavanaugh
68f11b44fa Remove unrelated changes 2016-01-06 14:20:04 -08:00
Ryan Cavanaugh
5eb1cc44f6 Merge remote-tracking branch 'upstream/master' into jsDoc2 2016-01-06 13:51:45 -08:00
Vladimir Matveev
a861913852 Merge pull request #6378 from Microsoft/directoryExists
add optional 'directoryExists' method to hosts to reduce amount of di…
2016-01-06 13:39:46 -08:00
Ryan Cavanaugh
cf8daffea1 Properly cache JSX element types for SFC expressions 2016-01-06 13:21:03 -08:00
Ryan Cavanaugh
e223b2e53c Clean up unrelated changes 2016-01-06 12:47:26 -08:00
Vladimir Matveev
36af815bba add optional 'directoryExists' method to hosts to reduce amount of disk probings that are known to fail 2016-01-06 12:37:52 -08:00
Nathan Shively-Sanders
9b13a0c5b9 Better name for checkTypePredicate helper function
checkBindingPatternForTypeVariable ->
checkIfTypeVariableIsDeclaredInBindingPattern
2016-01-06 10:58:57 -08:00
Anders Hejlsberg
9ce5e6477b Accepting new baselines 2016-01-06 10:53:27 -08:00
Anders Hejlsberg
dbb4544d61 Adding new tests 2016-01-06 10:52:54 -08:00
Anders Hejlsberg
75b4c50cec Updating existing tests 2016-01-06 10:52:43 -08:00
Anders Hejlsberg
a05b1de7ee Change for-in iteration variable type from any to string 2016-01-06 10:52:05 -08:00
Mohamed Hegazy
f09628900a Add new test for import..require 2016-01-06 10:48:24 -08:00
Mohamed Hegazy
7d31b5c8a3 Fix find all refs in shorthand properties for imports and exports 2016-01-06 10:27:31 -08:00
Zhengbo Li
b168da9248 Merge pull request #6300 from zhengbli/syncTsjs20151230
Update dom.generated.d.ts with latest version in TSJS repo
2016-01-06 00:41:09 -08:00
Vladimir Matveev
ba0f7f52ab Merge pull request #6362 from Microsoft/Revert6098
Revert "Merge pull request #6098 from guybedford/master"
2016-01-05 10:56:24 -08:00
Vladimir Matveev
dbe8489087 Revert "Merge pull request #6098 from guybedford/master"
This reverts commit 996f16940e, reversing
changes made to 51fd41b0c7.
2016-01-05 10:40:24 -08:00
Ryan Cavanaugh
aed73bd139 Merge pull request #6291 from RyanCavanaugh/fix6280
Issue correct errors for missing JSX closing tags
2016-01-05 10:23:49 -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
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