shyyko.serhiy@gmail.com
6b7b9aaa56
added check for missing prefix
2016-01-13 20:20:34 +02:00
shyyko.serhiy@gmail.com
5ba47eca86
added two new more specific messages
2016-01-13 20:18:51 +02:00
Ryan Cavanaugh
5f024a3c9f
Merge pull request #6358 from RyanCavanaugh/fix6349
...
Change logic in identifying JSX React SFCs
2016-01-12 15:40:52 -08:00
Vladimir Matveev
33bfd92f48
Merge pull request #6444 from Microsoft/errorOnReexportingGlobals
...
report errors when re-exporting globals
2016-01-11 15:47:17 -08:00
Vladimir Matveev
b811b9f94b
report errors when re-exporting globals
2016-01-11 14:48:57 -08:00
Mohamed Hegazy
869b81162f
Merge pull request #6019 from Microsoft/sourceMapDestructuring
...
Fixes for source map of destructuring downlevel syntax
2016-01-11 14:36:28 -08:00
Yui T
81f760c406
Merge branch 'master' into fix5953_crashJSX
2016-01-10 05:46:54 -08:00
Anders Hejlsberg
0bfc83bbbc
Merge pull request #6379 from Microsoft/forInChecking
...
Improved checking of for-in statements
2016-01-08 13:45:26 -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
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
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
Anders Hejlsberg
537fb4a7c5
Merge branch 'master' into forInChecking
2016-01-06 17:42:14 -08:00
Anders Hejlsberg
120569afb0
Support for-in both with and without variable declaration
2016-01-06 16:12:49 -08:00
Ryan Cavanaugh
cf8daffea1
Properly cache JSX element types for SFC expressions
2016-01-06 13:21:03 -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
Anders Hejlsberg
a05b1de7ee
Change for-in iteration variable type from any to string
2016-01-06 10:52:05 -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
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
5ab5cfd2fd
Contextually type the RHS of logical 'and' and comma expressions.
2016-01-04 22:54:37 -05: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
996f16940e
Merge pull request #6098 from guybedford/master
...
Naive implementation for #6097
2016-01-04 09:38:27 -08:00
Nathan Shively-Sanders
ec4c6fea2d
Merge branch 'master' into lint-nested-++
2016-01-04 08:56:05 -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
Ryan Cavanaugh
2c4856ae71
Issue correct errors for missing JSX closing tags
...
Fixes #6280
2015-12-29 16:00:15 -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
a0ef319f5d
Simplified JSX contextual typing code and added support for contextually typing string literal attribute initializers.
2015-12-23 17:10:16 -08:00
Sheetal Nandi
acf54bb416
Merge branch 'master' into sourceMapDestructuring
2015-12-22 16:21:38 -08:00
Nathan Shively-Sanders
abf9961528
Merge branch 'master' into lint-nested-++
2015-12-22 16:12:07 -08:00
Nathan Shively-Sanders
401a393519
Fix ++/-- lint
2015-12-22 15:45:00 -08:00
vladima
39605fe5f8
report pre-emit diagnostics that blocked emit
2015-12-21 21:43:51 -08:00
Daniel Rosenwasser
3969b89b23
Fixups for #6163 .
2015-12-21 13:40:59 -08:00
Daniel Rosenwasser
ee50adbc85
Merge pull request #6129 from pimterry/decorator-overload-msg
...
Improve decorator on overload error message
2015-12-21 13:30:46 -08:00
Daniel Rosenwasser
adf5290587
Merge pull request #6163 from DanCorder/5810
...
Fix issue #5810 doubled comment on functions in array literals
2015-12-21 13:29:03 -08:00
Anders Hejlsberg
66a0f1d2ea
Merge pull request #6111 from Microsoft/simplifyAbstractCheck
...
Simplify abstract constructor type assignability checking
2015-12-18 19:09:10 -08:00
Dan Corder
aba197cd4b
Fix issue #5810 doubled comment on functions in array literals
2015-12-18 22:35:08 +00:00
Daniel Rosenwasser
cc5334eb89
Made 'expression' non-optional in 'CaseClause'.
2015-12-18 14:06:08 -08:00
Yui T
4a47dfb061
Merge branch 'master' into fix5953_crashJSX
...
Conflicts:
src/services/services.ts
2015-12-18 11:39:43 -08:00
Vladimir Matveev
a8f87bb2ca
only '++' and '--' unary operators can change exports
2015-12-18 11:21:31 -08:00
Rowan Wyborn
2395890268
fix trailing whitespace
2015-12-18 22:25:23 +11:00
Rowan Wyborn
9d11f2b3ce
Merge branch 'master' into react-factory-option
2015-12-18 21:57:38 +11:00
Rowan Wyborn
b7f60704bb
Initial check in - Support other JSX factories Issue #3788
...
- added jsxNamespace compile option
- when jsx mode is "react", jsxNamespace optionally specifies the emit namespace for React calls, eg "--jsxNamespace MyDOMLib" will emit calls as MyDOMLib.createElement (instead of React.createElement)
- symbol specified by jsxNamespace must be present, else compile error is generated (same handling as is done for React symbol when no jsxNamespace is specified)
2015-12-18 21:56:08 +11:00
Daniel Rosenwasser
22856de23a
Merge pull request #6140 from Microsoft/noUnused
...
Apply the 'no-unused-variable' tslint rule to our codebase
2015-12-17 23:56:53 -08:00
Vladimir Matveev
bb1e5ab5ea
Merge pull request #6077 from Microsoft/superInObjectLiterals
...
allow usage of 'super' in object literal expressions
2015-12-17 21:53:58 -08:00
Yui
09d22331a4
Merge pull request #6084 from Microsoft/fix4686_fixrename
...
Fix rename/document-highlight/find reference in parameter property declaration
2015-12-17 21:52:29 -08:00