Merge pull request #4598 from Microsoft/destructuringInitializers

Improved checking of destructuring with literal initializers
This commit is contained in:
Anders Hejlsberg
2015-09-11 09:12:45 -07:00
50 changed files with 1425 additions and 1247 deletions

View File

@@ -1649,6 +1649,10 @@
"category": "Error",
"code": 2524
},
"Initializer provides no value for this binding element and the binding element has no default value.": {
"category": "Error",
"code": 2525
},
"JSX element attributes type '{0}' must be an object type.": {
"category": "Error",
"code": 2600