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
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
vladima
ae7d687a77
merge with origin/master
2015-12-17 21:30:47 -08:00
Yui T
a5c632cd5a
Fix merge error
2015-12-17 21:08:11 -08:00
Ryan Cavanaugh
0163675464
Merge pull request #6104 from RyanCavanaugh/fix6029
...
Properly handle multiply-declared optional properties in JSX attr. type
2015-12-17 20:18:17 -08:00
Yui T
73911a327d
Merge branch 'master' into fix4686_fixrename
2015-12-17 18:35:08 -08:00
Yui T
95fc3d6a35
Merge branch 'fix4686_fixrename' of https://github.com/Microsoft/TypeScript into fix4686_fixrename
2015-12-17 18:34:29 -08:00
Yui T
7499c7c279
Address feedback
2015-12-17 18:34:21 -08:00
Yui
710a5be23a
Merge pull request #6141 from Microsoft/linting_services
...
Apply tslint to services.ts file
2015-12-17 18:26:26 -08:00
Yui T
03be649b1c
Address feedback
2015-12-17 18:14:04 -08:00
Yui T
2ec97a2d2e
Address PR feed back
2015-12-17 18:00:53 -08:00
Yui T
e4e6f7072d
Update assert msg
2015-12-17 17:27:00 -08:00
Daniel Rosenwasser
8d46ffdb73
Merge pull request #6075 from Microsoft/overloadCompatibility
...
Implement new overload compatibility checking
2015-12-17 17:15:22 -08:00
Vladimir Matveev
314b162882
Merge remote-tracking branch 'origin/master' into superInObjectLiterals
2015-12-17 17:02:37 -08:00
Nathan Shively-Sanders
4d792f2014
Merge pull request #6036 from Microsoft/structural-enums
...
Compare enums semi-structurally.
2015-12-17 16:31:03 -08:00
Nathan Shively-Sanders
b04bd66bb2
Get type of target enum outside the lookup loop
2015-12-17 16:18:55 -08:00
Yui T
5a53c613e4
Add assertion to check that ranges-array is not empty so it doesn't silently fail
2015-12-17 15:51:00 -08:00
Nathan Shively-Sanders
d59831b4e8
Get rid of list and map abstractions to reduce GC pressure
2015-12-17 15:38:02 -08:00
Daniel Rosenwasser
5d8d09f90d
Merge pull request #6136 from Microsoft/dontEditDocs
...
Added README.md to the 'doc' folder.
2015-12-17 13:40:33 -08:00
Daniel Rosenwasser
3558d7d423
Added README.md to 'doc' folder.
2015-12-17 11:34:54 -08:00
Yui T
479f7af4df
Add debug fail when getting parameter-property declaration
2015-12-16 16:24:18 -08:00
Yui T
ddbf1030ff
Fix fourslash range annotation
2015-12-16 16:06:55 -08:00
Vladimir Matveev
db7f955a5f
Merge remote-tracking branch 'origin/master' into superInObjectLiterals
2015-12-16 13:20:06 -08:00
Vladimir Matveev
a3cce3868b
addressed PR feedback
2015-12-16 13:19:57 -08:00
Nathan Shively-Sanders
aa1a7664e7
Add enum/module merge test
2015-12-16 12:11:24 -08:00
Daniel Rosenwasser
731925bffe
Fix linter nits.
2015-12-15 20:55:54 -08:00
Daniel Rosenwasser
d8db60a9a2
Use a comparison function instead of creating a new type for each signature.
2015-12-15 17:52:26 -08:00
Ryan Cavanaugh
a2b6e8c2c0
Use nicer flag collection method
2015-12-15 11:39:54 -08:00
Yui T
e3075bab78
Revert linting services
2015-12-15 10:57:56 -08:00
Yui T
ec95f9955a
Fix linting issue
2015-12-15 10:04:30 -08:00
Anders Hejlsberg
55d4f0f7e4
Merge pull request #6083 from Microsoft/simplifyDeferredChecking
...
Simplify deferred function, class, and accessor checking
2015-12-15 09:07:07 -08:00
Ryan Cavanaugh
023e375835
Properly handle multiply-declared optional properties in JSX attr. type
...
Fixes #6029
2015-12-14 16:44:26 -08:00
Yui T
c0ff7f77a2
Fix build error
2015-12-14 14:35:27 -08:00
Daniel Rosenwasser
2efa69773d
Accepted baselines.
2015-12-14 14:24:55 -08:00
Daniel Rosenwasser
5cbf17d989
Added tests.
2015-12-14 14:16:31 -08:00
Yui T
8050537210
Merge branch 'fix4686_fixrename' of https://github.com/Microsoft/TypeScript into fix4686_fixrename
2015-12-14 14:05:25 -08:00
Yui T
c0b0bebaa7
Fix linting issue
2015-12-14 14:04:14 -08:00
Yui T
c5df5d768e
Fix linting issue
2015-12-14 12:57:02 -08:00
Ryan Cavanaugh
2f447ee005
Merge pull request #5876 from RyanCavanaugh/javaScriptPrototypes
...
JavaScript prototype class inference
2015-12-14 11:42:18 -08:00
Ryan Cavanaugh
37f3ff8d05
Check for function flag on class symbol
2015-12-14 11:32:06 -08:00
Anders Hejlsberg
ef9f4043c4
Merge pull request #6091 from Microsoft/circularTypeofIssue
...
Fix circular typeof issue in function/namespace combo
2015-12-14 10:54:22 -08:00
Yui T
7e71686b1a
Fix broken tests
2015-12-14 10:14:35 -08:00
Anders Hejlsberg
3c8ad42a62
Adding regression test
2015-12-13 18:32:46 -08:00
Anders Hejlsberg
e354aec8a3
Mark anonymous type as resolved before resolving call signatures
2015-12-13 18:25:45 -08:00
vladima
b65c5779a2
addressed PR feedback
2015-12-12 23:07:18 -08:00
Yui T
99722e442c
Add tests for binding pattern in parameter property declaration
2015-12-12 16:38:11 -08:00
Yui T
f138953d88
Fix comment
2015-12-12 16:13:30 -08:00
Anders Hejlsberg
91b93439f1
Accepting new baselines
2015-12-12 15:57:39 -08:00
Anders Hejlsberg
b44f6e47d6
Simplify deferred checking of function, class, and accessor bodies.
2015-12-12 15:56:43 -08:00