Anders Hejlsberg
12b63d230a
Add regression test
2016-11-26 10:06:33 -08:00
Anders Hejlsberg
2cec4c5ebb
Add regression test
2016-11-23 18:28:59 -08:00
Anders Hejlsberg
e128add54e
Merge pull request #12447 from Microsoft/mappedTypesAndUnions
...
Isomorphic mapped types and unions
2016-11-23 17:36:44 -08:00
Mohamed Hegazy
72cee3e045
Merge pull request #12434 from Microsoft/Fix12377
...
Add special handeling for function and array in Object.freeze
2016-11-23 13:26:36 -08:00
Sheetal Nandi
20a8a30b76
Instead of creating clone of the jsxFactory's leaf node, create synthesized node
...
Fixes #12467
This avoid setting original node which would be something from isolated parsing and hence not valid when resolving expression
2016-11-23 12:26:02 -08:00
Sheetal Nandi
79bf477b67
Revert "Instead of creating clone of the jsxFactory's leaf node, create synthesized node"
...
This reverts commit 4e7313b4f69682df92c48feac6aa50910a592d04.
2016-11-23 12:24:44 -08:00
Sheetal Nandi
4e7313b4f6
Instead of creating clone of the jsxFactory's leaf node, create synthesized node
...
Fixes #12467
This avoid setting original node which would be something from isolated parsing and hence not valid when resolving expression
2016-11-23 12:22:28 -08:00
Mohamed Hegazy
60395565e6
Handel call and construct signatures
2016-11-23 09:48:25 -08:00
Daniel Rosenwasser
4701eb70e2
Merge pull request #12357 from mylesmegyesi/12075-incorrectErrorMessageForUseOfTypeAsNamespace
...
Fixes error message when Type is used as a Namespace
2016-11-23 11:08:38 -05:00
Anders Hejlsberg
864e1797d9
Merge pull request #12396 from Microsoft/getTypeOfExpression
...
Introduce 'getTypeOfExpression' function
2016-11-22 15:33:37 -08:00
Anders Hejlsberg
43e383f20b
Add more tests
2016-11-22 14:28:45 -08:00
Anders Hejlsberg
66f8a406dd
Update tests
2016-11-22 14:28:21 -08:00
Ryan Cavanaugh
86583d495c
Merge pull request #12441 from RyanCavanaugh/jsDocAugments
...
Support JSDoc @augments tag
2016-11-22 11:23:45 -08:00
Ryan Cavanaugh
6a5682c4a3
Support JSDoc @augments tag
...
Fixes #12428
2016-11-22 10:52:47 -08:00
Mohamed Hegazy
72df02cbbd
Add function
2016-11-21 23:27:18 -08:00
Mohamed Hegazy
8a334ac00d
Add special handeling for function and array in Object.freeze
2016-11-21 23:13:22 -08:00
Anders Hejlsberg
77c0540433
Merge pull request #12425 from Microsoft/keyofOnlyStrings
...
Change 'keyof T' to always be string-like
2016-11-21 15:51:00 -08:00
Anders Hejlsberg
b662a8b319
Add test case
2016-11-21 13:10:42 -08:00
Vladimir Matveev
4c6b94f16f
wrap subexpressions of conditional expressions in parens if necessary ( #12420 )
2016-11-21 12:52:13 -08:00
Anders Hejlsberg
5498a95245
Update tests
2016-11-21 11:42:38 -08:00
Vladimir Matveev
b060107b51
recompute character to column when comparing indentations ( #12375 )
...
recompute character to column when comparing indentations
2016-11-21 11:34:09 -08:00
Anders Hejlsberg
998246af9c
Merge pull request #12389 from Microsoft/keyofRelations
...
Minor fixes for 'keyof T' and indexed acces types
2016-11-20 15:54:41 -08:00
Anders Hejlsberg
c1c12c75f7
Add regression test
2016-11-20 08:55:20 -08:00
Anders Hejlsberg
a439e62138
Add tests
2016-11-19 15:10:22 -08:00
Nathan Shively-Sanders
71b28a024a
Merge pull request #12310 from Microsoft/check-object-rest-destructuring-assignment
...
Check object rest destructuring assignment
2016-11-18 16:01:25 -08:00
Nathan Shively-Sanders
b514d7c91c
Merge pull request #12362 from Microsoft/disable-evolving-types-with-implicit-any
...
Disable evolving types with implicit any
2016-11-18 15:39:02 -08:00
Sheetal Nandi
f626ff777f
Merge pull request #12363 from Microsoft/declarationsInFilesWithErrors
...
Fixes for #12291 and #12326 : Declaration emit when there are errors in the source file
2016-11-18 14:57:09 -08:00
Nathan Shively-Sanders
7750fe1a7c
Always enable evolving types in Javascript files
2016-11-18 14:13:56 -08:00
Sheetal Nandi
aa556502f3
Handle when type alias's type parameter extends type that wont get emitted in .d.ts
...
Fixes #12326
2016-11-18 14:02:57 -08:00
Nathan Shively-Sanders
8674d92bdb
Disable evolving types with implicit any
...
That is, without --noImplicitAny
2016-11-18 13:51:44 -08:00
Anders Hejlsberg
a789990781
Add tests
2016-11-18 13:31:10 -08:00
Sheetal Nandi
cbde25f229
Handle the scenario when heritage clause of interface is not entity name expression
...
Fixes #12291
2016-11-18 13:11:33 -08:00
Myles Megyesi
d8b0f239f1
Fixes error message when Type is used as a Namespace
...
Fixes #12075
2016-11-18 11:38:24 -06:00
Anders Hejlsberg
075a3eb98f
Add new tests
2016-11-18 06:27:45 -08:00
Paul van Brenk
52ec508e27
Code fix for missing imports ( #11768 )
...
* Add codefix for missing imports + tests
* Re-order and cleanup
* refactor
* make tests pass
* Make import specifier for new imports more comprehensive
* Fix existing import cases
* refactor
* Fix multiple import statement case
* add multiple code fixes and code action filtering and polishing
* not using the generic verify method for import fixes.
* Correct insert position for new imports
* improve the code action filtering logic
* Fix line ending issue
* cache where we can
2016-11-16 16:01:16 -08:00
Nathan Shively-Sanders
c7b0083820
Test widen literal types of parameter properties
2016-11-16 15:15:30 -08:00
Nathan Shively-Sanders
641948fb0c
Test assignability checking of object rests
2016-11-16 13:41:18 -08:00
Anders Hejlsberg
a5d9e9624d
Merge pull request #12301 from Microsoft/recursiveMappedTypes
...
Fix recursive mapped types
2016-11-16 10:23:14 -08:00
Anders Hejlsberg
c00a04d781
Add tests
2016-11-16 06:49:04 -08:00
Ron Buckton
3a67174314
Merge branch 'master' into streamlineDestructuring
2016-11-15 18:10:02 -08:00
Ron Buckton
ba4f52c055
Merge remote-tracking branch 'origin/object-rest-emit-for-method-and-accessor-parameters' into streamlineDestructuring
2016-11-15 17:09:49 -08:00
Anders Hejlsberg
73ada7a78d
Merge pull request #12251 from Microsoft/fixTypePredicateStructuralMatch
...
Fix type predicates with structurally identical types
2016-11-15 13:20:35 -08:00
Anders Hejlsberg
0ba23483e8
Merge pull request #12276 from Microsoft/libMappedTypes
...
Predefined mapped types in lib.d.ts
2016-11-15 13:19:58 -08:00
Anders Hejlsberg
04a0f55e96
Revise tests
2016-11-15 12:15:11 -08:00
Nathan Shively-Sanders
2496756aed
Merge branch 'master' into object-spread-rest-fixes
2016-11-15 11:19:01 -08:00
Paul van Brenk
1924298d87
Merge branch 'master' into unusedidentifier
2016-11-15 10:17:37 -08:00
Nathan Shively-Sanders
498d978c21
Test object rest parameter emit: methods/accessors
2016-11-15 09:55:56 -08:00
Nathan Shively-Sanders
a74e9d8ccf
Merge pull request #12158 from Microsoft/fix-literal-comparability-in-relational-comparison-operators
...
Fix literal comparability in relational comparison operators
2016-11-15 08:24:06 -08:00
Anders Hejlsberg
6d28595e5a
Add repro test
2016-11-14 17:06:46 -08:00
Nathan Shively-Sanders
fe66d9ef9f
Add spread tests and update rest tests
2016-11-14 16:23:40 -08:00