Kanchalai Tanglertsampan
ab2e14f24e
Addressing code review in previous PR. Combining below commits
...
Address comment: fix spelling mistakes
Address comment: calling `checkApplicableSignatureForJsxOpeningLikeElement` from inside `checkApplicableSignature`
Address comment: fix spelling, rename function to be more consistent
Address comment: minor fix indentation, fix function name isObjectLiteralPropertyDeclaration => isObjectLiteralElement
Address PR: gotoDefinition return the last signature when there is an error in statelss function component
Address PR: convert Foreach to for...of
Address comment: fix type, inline code, clarify name of variables
2017-01-19 10:10:03 -08:00
Kanchalai Tanglertsampan
747ab054a2
Refactor getJsxAttributeSymbolsFromJsxOpeningLikeElement to createJsxAttributesTypeFromAttributesProperty
2017-01-19 09:51:01 -08:00
Kanchalai Tanglertsampan
6ce31d7dfe
Address comment: stop widen type when checking for spread any;
...
Address comment: using ternary operator, fix comments
2017-01-19 09:49:33 -08:00
Kanchalai Tanglertsampan
2fd5667a04
Update baselines
2017-01-19 09:46:43 -08:00
Kanchalai Tanglertsampan
3d19782b1c
Add language service tests
2017-01-18 15:29:38 -08:00
Kanchalai Tanglertsampan
70ca18e91c
Add a test for contextual type in JSXAttributes
2017-01-18 15:17:09 -08:00
Kanchalai Tanglertsampan
19d05484d8
Add tests for generic stateless function component
2017-01-18 15:16:59 -08:00
Kanchalai Tanglertsampan
9e3da083da
Add tests for overload stateless function component
2017-01-18 15:16:49 -08:00
Kanchalai Tanglertsampan
b0fd66d086
Add tests for using default attributes in JSX stateful component
2017-01-18 15:16:17 -08:00
Kanchalai Tanglertsampan
aea7d09578
Add tests for using spread attributes resolution in JSX stateful component
2017-01-18 15:16:12 -08:00
Kanchalai Tanglertsampan
d9927d4046
Update existed conformance tests
2017-01-18 15:16:04 -08:00
Nathan Shively-Sanders
34fa27895f
Merge branch 'master' into property-access-for-string-index-sigs
2017-01-18 08:29:38 -08:00
Andy
ae8fd30444
Merge pull request #13546 from Microsoft/test_document_highlights
...
Update document highlight tests: Use ranges to represent expected highlights
2017-01-18 06:56:59 -08:00
Andy Hanson
d1fb894d86
Update document highlight tests: Use ranges to represent expected highlights
2017-01-17 13:51:53 -08:00
Anders Hejlsberg
4d501d1f44
Merge pull request #13523 from Microsoft/fixNumericIndexedAccess
...
Fix numeric indexed access types
2017-01-17 11:51:52 -10:00
Nathan Shively-Sanders
899d51267d
Merge pull request #12065 from about-code/master
...
Fixing #442 : Impossible to define static 'length' function on class
2017-01-17 11:25:46 -08:00
Andy Hanson
30ccc7a5d0
Merge branch 'master' into map5
2017-01-17 10:42:27 -08:00
Andy
4ba382a1d1
Merge pull request #13478 from Microsoft/string_literal_rest_parameter
...
Support completions for string literal in rest parameter
2017-01-17 06:40:15 -08:00
Ron Buckton
ed13dde154
Merge pull request #13505 from Microsoft/fix13504
...
Emit 'object' type in declaration emitter
2017-01-16 15:05:41 -08:00
Anders Hejlsberg
f7d8e3befc
Add regression test
2017-01-16 12:18:15 -08:00
Andy
3b0f2c152b
Merge pull request #13476 from Microsoft/findallrefs_unclosure
...
Move code out of closure in `getReferencedSymbolsForNode`
2017-01-16 09:18:39 -08:00
Ron Buckton
061175ef9f
Emit 'object' type in declaration emitter
2017-01-15 16:26:17 -08:00
about-code
9b217e31df
Removing es6 method/property distinction.
...
Adding tests with default export and anonymous class expressions.
2017-01-14 16:30:12 +01:00
about-code
4718efd181
Removing es6 method/property distinction.
...
Adding tests with default export and anonymous class expressions.
2017-01-14 16:06:13 +01:00
about-code
66263b3782
Merge remote-tracking branch 'upstream/master'
2017-01-14 12:24:07 +01:00
Andy Hanson
f1b481a1b6
Support completions for string literal in rest parameter
2017-01-13 14:13:49 -08:00
Andy Hanson
0b8de64a1b
Move code out of closure in getReferencedSymbolsForNode
2017-01-13 13:20:39 -08:00
Andy
d86d850211
Merge pull request #13401 from Microsoft/navbar_exported_functions
...
Include "export" modifier on function assigned to an export (`export const x = () => 0;`).
2017-01-13 10:33:39 -08:00
Andy
43a2d3849b
Merge pull request #13446 from Microsoft/export_equals_completion
...
Include properties of an `export =` value in import completions.
2017-01-13 09:55:43 -08:00
Andy Hanson
639f5cb6e5
Fix bug for constructor with modifier
2017-01-13 08:10:58 -08:00
Anders Hejlsberg
2711303539
Merge pull request #13448 from Microsoft/fixMappedTypeRelations
...
Improve generic mapped type relations
2017-01-12 13:20:31 -10:00
Anders Hejlsberg
0f49703030
Merge pull request #13427 from Microsoft/nonPrimitiveObjectRelations
...
Unconstrained type parameter not assignable to 'object' type
2017-01-12 13:19:27 -10:00
Andy Hanson
113338c791
Merge branch 'master' into map5
2017-01-12 12:35:00 -08:00
Zhengbo Li
a36db0ea10
Merge pull request #13424 from zhengbli/13129
...
Change the module specifier search order
2017-01-12 12:06:28 -08:00
Anders Hejlsberg
dafea7f54d
Add tests
2017-01-12 10:49:58 -08:00
Andy Hanson
890676a5d8
Include properties of an export = value in import completions.
2017-01-12 07:33:36 -08:00
Anders Hejlsberg
0e0953fc4f
Add tests
2017-01-11 16:11:16 -08:00
Zhengbo Li
c897235364
Change the module specifier search order
2017-01-11 14:30:37 -08:00
Andy Hanson
30462e11ef
Merge branch 'master' into map5
2017-01-11 12:24:47 -08:00
Anders Hejlsberg
5abd3230a4
Add regression test
2017-01-11 11:50:41 -08:00
Andy Hanson
f0e1fd93f7
Merge branch 'master' into map5
2017-01-11 07:17:37 -08:00
Andy Hanson
2ae5806210
Include "export" modifier on function assigned to an export (export const x = () => 0;).
2017-01-10 13:04:32 -08:00
Nathan Shively-Sanders
c9e301f236
Test:object rest skips only class methods
...
Previously, it skipped all methods.
2017-01-10 08:55:15 -08:00
Anders Hejlsberg
d7160c7b75
Merge pull request #13338 from Microsoft/fixCircularConstraints
...
Improve handling of circular constraints
2017-01-10 04:40:50 -10:00
Anders Hejlsberg
81e891812e
Add regression test
2017-01-09 16:51:46 -08:00
Andy
1570476d5b
Merge pull request #13367 from Microsoft/goToDefinition_name
...
goToDefinition: Use the name of a declaration (if possible) when creating DefinitionInfo
2017-01-09 14:06:29 -08:00
Anders Hejlsberg
3bc8c7e015
Merge branch 'master' into fixMappedTypeCombinedMappers
...
# Conflicts:
# src/compiler/checker.ts
2017-01-09 11:38:05 -08:00
Anders Hejlsberg
ecb2115aeb
Merge pull request #13358 from Microsoft/iifeMissingArguments
...
Infer optional types for IIFE parameters with missing arguments
2017-01-09 09:30:49 -10:00
Anders Hejlsberg
73fbe5a8e7
Merge pull request #13356 from Microsoft/fixCombinedTypeMappers
...
Fix nested generic mapped type instantiations
2017-01-09 09:30:19 -10:00
Nathan Shively-Sanders
e4dcd0803b
Merge pull request #13365 from Microsoft/object-spread-removes-class-methods
...
Omit only class methods from object spreads
2017-01-09 11:10:33 -08:00