Commit Graph
12444 Commits
Author SHA1 Message Date
SaschaNaz 8cd8f863b3 remove type operation rules, add types instead 2015-09-10 01:41:21 +09:00
SaschaNaz 44009fa951 Housekeeping part from #4609 2015-09-10 01:37:34 +09:00
SaschaNaz 8bf79a220a Resolving conflicts with #4646 2015-09-10 00:48:53 +09:00
Vladimir Matveev aa29644c2a allow to use keywords as jsx identifiers 2015-09-08 22:40:16 -07:00
Vladimir Matveev 83214150f8 do not emit '=' in jsx attribute if initializer is missing 2015-09-08 18:40:30 -07:00
Mohamed Hegazy 3d8c336a4f Merge pull request #4632 from Microsoft/fixCompletionAssert
Fix completion assert
2015-09-08 15:39:19 -07:00
Anders Hejlsberg 546da60a2a Correct propagation of includePatternInType flag 2015-09-06 08:54:38 -07:00
SaschaNaz 0fc9e7e313 simplified code flow 2015-09-06 16:02:38 +09:00
Anders Hejlsberg bb8179766a Check for excess properties 2015-09-05 15:42:58 -07:00
Anders Hejlsberg dc8ad6eb5e Store binding pattern in contextual type 2015-09-05 13:17:33 -07:00
SaschaNaz 40f3fcf575 remove hasBraceShell and add namedBindings check 2015-09-05 11:43:08 +09:00
progre 52c99634ff #4396 fix error message typo 2015-09-05 11:16:27 +09:00
Daniel Rosenwasser 4a85546f94 Merge pull request #4497 from weswigham/patch-4
Add system argument to readConfigFile
2015-09-04 18:10:46 -07:00
Daniel Rosenwasser 5297a7f319 Ensure that zero-element binding patterns don't try to reuse assigned identifiers. 2015-09-04 17:53:56 -07:00
Mohamed Hegazy d8c6f7edc3 fix additional places where class expression should be queried 2015-09-04 17:46:26 -07:00
Mohamed Hegazy 3a08af1450 Check for class expressions as well as class declarations 2015-09-04 17:45:57 -07:00
vilicvane 8d45711395 Else on the next line 2015-09-05 06:43:37 +08:00
Vladimir Matveev 97b846c444 handle jsx identifiers correctly, indent content of JsxSelfClosingElement 2015-09-04 13:03:47 -07:00
Vladimir Matveev 2d37a44df4 Merge pull request #4646 from Microsoft/formattingJsxAttributes
handle jsx identifiers correctly, indent content of JsxSelfClosingEle…
2015-09-04 12:59:13 -07:00
Daniel Rosenwasser 6c23a6b534 Merge pull request #4638 from SaschaNaz/fixCommentIndentation
Fix comment indentation
2015-09-04 12:15:30 -07:00
Sheetal Nandi 46c005749b Merge branch 'release-1.6' 2015-09-04 11:21:41 -07:00
Sheetal Nandi 0573c0b006 Merge pull request #4599 from Microsoft/decoratorInferredType
If Type annotation is missing, emit design:Type as Object
2015-09-04 11:19:17 -07:00
Vladimir Matveev 35d608692b handle jsx identifiers correctly, indent content of JsxSelfClosingElement 2015-09-04 10:53:33 -07:00
vilicvane 856f2d895c Fix issue #4603 2015-09-04 21:47:28 +08:00
SaschaNaz 4aded270f7 move declaration into the block 2015-09-04 21:54:14 +09:00
SaschaNaz 59f5ce4582 fix comment indentation 2015-09-04 19:35:07 +09:00
SaschaNaz 74ef1b25ac Merge https://github.com/Microsoft/TypeScript into formatTsxAttr 2015-09-04 12:25:29 +09:00
SaschaNaz c49c68d8f9 Manual merge 2015-09-04 12:22:15 +09:00
SaschaNaz bcb8cc3e81 Manual merge 2015-09-04 12:07:24 +09:00
SaschaNaz c63b30afd5 Merge branch 'master' into fixExportImportFormatting 2015-09-04 11:46:13 +09:00
Mohamed Hegazy a579d41a57 Do not add symbol if it is undefined 2015-09-03 13:53:00 -07:00
Vladimir Matveev ff640e415f fix 'findPrecedingToken' for jsxText 2015-09-03 13:33:22 -07:00
SaschaNazandVladimir Matveev 58c732b47d format class expression indentation 2015-09-03 13:33:05 -07:00
SaschaNazandVladimir Matveev b8071f99bc format intersection type 2015-09-03 13:32:34 -07:00
Vladimir Matveev e484305c98 allow backslashes in fileName argument of the transpile function 2015-09-03 13:31:57 -07:00
Vladimir Matveev dc86736820 Merge pull request #4596 from Microsoft/jsxIndentation
fix 'findPrecedingToken' for jsxText
2015-09-03 13:29:44 -07:00
Vladimir Matveev 4f4c8ee12d Merge pull request #4627 from Microsoft/backslashesInTranspile
allow backslashes in fileName argument of the transpile function
2015-09-03 13:29:27 -07:00
Vladimir Matveev feddff0b7b Merge pull request #4622 from SaschaNaz/fixClassExpressionIndent
Fix class expression indentation
2015-09-03 11:59:50 -07:00
Daniel Rosenwasser fafbec60de Merge pull request #4552 from Microsoft/bettErrErrorsForObjectLiteralExcessProperties
Better error spans for object literal excess properties
2015-09-03 10:03:53 -07:00
Vladimir Matveev 9a78b66068 allow backslashes in fileName argument of the transpile function 2015-09-03 09:25:43 -07:00
SaschaNaz dfde9e4e10 format intersection type 2015-09-03 22:33:07 +09:00
SaschaNaz 8d1d0d8d70 format class expression indentation 2015-09-03 22:07:52 +09:00
SaschaNaz f0ed672eb1 disable indentation when in brace shell
This pattern can also be used to format JSX end tag.
2015-09-03 20:02:48 +09:00
SaschaNaz 66924a3718 format open brace in export/import decl 2015-09-03 20:01:39 +09:00
Zhengbo Li 3c568251bb Merge pull request #4557 from gwicksted/patch-1
Add parameters to toLocaleDateString
2015-09-02 17:29:31 -07:00
Zhengbo Li 690b87c209 Merge pull request #4557 from gwicksted/patch-1
Add parameters to toLocaleDateString
2015-09-02 16:02:42 -07:00
Vladimir Matveev cd6152ebe6 remove 'experimental' from 'moduleResolution' command line argument 2015-09-02 10:01:28 -07:00
Graeme Wicksted 03da2ce42b Added toLocaleTimeString variations
See [Mozilla Reference ](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleTimeString)
2015-09-02 10:19:49 -04:00
Sheetal Nandi 5f78d39662 If Type annotation is missing, emit design:Type as Object
Fixes #4549
2015-09-01 13:46:44 -07:00
Anders Hejlsberg c436736e1e Adding a few comments 2015-09-01 13:15:43 -07:00