Commit Graph

32734 Commits

Author SHA1 Message Date
Zhengbo Li 69e0677ea1 Support quick fixes for UMD global (#12545)
* Support quick fixes for UMD global

* refactor
2016-12-28 15:04:15 -08:00
zhengbli bf5faa04a6 Use inherited setCompilerOptions for inferred project 2016-12-28 14:46:58 -08:00
Ron Buckton 2db8d80860 Merge pull request #12783 from Microsoft/es6-new-target
Add support for 'new.target' meta-property
2016-12-28 13:52:56 -08:00
rbuckton 4098058907 Merge branch 'master' into es6-new-target 2016-12-28 13:41:44 -08:00
Mohamed Hegazy e128b94dc2 Merge pull request #13192 from slawomir/13063-strictNullChecks-breaks-typeof
#13063 Fix strictNullChecks breaking typeof
2016-12-28 12:52:21 -08:00
Slawomir Sadziak 5317f13c16 #13063 Optimization
Add isInTypeQuery as the last OR
2016-12-28 20:22:24 +01:00
Andy Hanson 2e6f369e8f Replace SparseArray<T> with T[] 2016-12-28 09:41:45 -08:00
Andy Hanson 346a86582b Merge branch 'master' into map5 2016-12-28 09:36:30 -08:00
Andy Hanson 145f0b2f18 Add createMultiMap to replace multiMapAdd and multiMapRemove 2016-12-28 09:33:43 -08:00
Andy Hanson 932eaa3f90 Rename and consolidate map iteration helpers 2016-12-28 09:16:38 -08:00
Andy Hanson 39c19a74ea Inline keysOfMap and valuesOfMap. 2016-12-28 09:05:52 -08:00
Andy Hanson f510897dbd Remove "sparseArray" constructor function and just use array literals 2016-12-28 08:58:31 -08:00
zhengbli a8a1a826b3 set the option when creating inferred projects 2016-12-28 08:15:21 -08:00
zhengbli 8648239e64 Merge branch 'master' of https://github.com/Microsoft/TypeScript into 11116 2016-12-28 04:07:04 -08:00
Mohamed Hegazy b82fe52ca4 Merge pull request #13191 from Microsoft/fix13157
Aggregate transform flags for ExpressionWithTypeArguments
2016-12-27 20:53:02 -08:00
Slawomir Sadziak 498568b16f #13063 Fix strictNullChecks breaking typeof
* Allow typeof to use not-auto variable in strictNullChecks mode
2016-12-28 05:18:53 +01:00
Ron Buckton d7b61b2da5 Aggregate flags for ExpressionWithTypeArguments 2016-12-27 17:58:42 -08:00
Mohamed Hegazy 01a7ba8d47 Merge pull request #13189 from Microsoft/Fix12724
Do not report helper module errors in ambient contexts for Rest helper
2016-12-27 17:28:45 -08:00
Mohamed Hegazy 5928f60d62 Do not report helper module errors in ambient contexts for Rest helper 2016-12-27 16:45:26 -08:00
Ron Buckton 4fa8118b01 Merge pull request #13188 from Microsoft/fix13147
Fix UMD header to work with r.js
2016-12-27 16:22:33 -08:00
Ron Buckton 3b114f4a1e Fix UMD header to work with r.js 2016-12-27 15:54:23 -08:00
Vladimir Matveev 11dd368ec0 do not report file lookups if containing folder is known to be missing (#13187)
* added missing '.' at the end of message

* do not report lookups if containing folder is known to be absent
2016-12-27 15:50:14 -08:00
Andy Hanson 9e33585a80 Merge branch 'master' into map5 2016-12-27 12:56:05 -08:00
Andy Hanson 3d7b5e6019 Make createMapLike private and rename to createDictionaryObject 2016-12-27 12:46:28 -08:00
Andy Hanson 55552585d0 Add iterators to Map interface, and shim iterators 2016-12-27 12:37:42 -08:00
Vladimir Matveev 77a3dfbcfc tsserver should use newline provided by the host (#13185) 2016-12-27 11:59:56 -08:00
Andy Hanson 8386d491ab Use sparse arrays for number-keyed maps 2016-12-27 11:17:33 -08:00
Ron Buckton bec32d4721 Merge pull request #13134 from Microsoft/fix13128
Fix non-thenable check for IndexedAccess types
2016-12-27 11:02:40 -08:00
Mohamed Hegazy f0ad56d86e Ensure test input is unformatted 2016-12-26 11:36:27 -08:00
Mohamed Hegazy 99b958f531 Merge branch 'flowmemo-fix-11676' 2016-12-26 11:26:44 -08:00
Mohamed Hegazy 914bcfd616 Merge branch 'fix-11676' of https://github.com/flowmemo/TypeScript into flowmemo-fix-11676 2016-12-26 11:26:36 -08:00
Mohamed Hegazy e4b81d0331 Merge pull request #13006 from SaschaNaz/lintfix
Fix latest tslint errors
2016-12-26 11:24:25 -08:00
Mohamed Hegazy 0b125a356e Merge pull request #11990 from HerringtonDarkholme/delete-readonly
fix #11480, disallow delete operator on readonly property or index  signature
2016-12-26 10:35:06 -08:00
flowmemo eb188d0e24 fix #11676 - lint test 2016-12-24 09:25:14 +08:00
flowmemo e32c62039e fix #11676 2016-12-24 00:20:46 +08:00
Vladimir Matveev 20097d7961 mark 'failedLookupLocations' as internal (#13139) 2016-12-22 18:35:41 -08:00
Herrington Darkholme 634dff27a1 Update upstream 2016-12-23 10:04:11 +08:00
Ron Buckton e90742fe1b Merge pull request #13040 from Microsoft/es2015-cleanup
Clean up for ES2015 transforms
2016-12-22 16:31:10 -08:00
Mohamed Hegazy a71befe062 Merge pull request #13136 from Microsoft/ConditionTraceMessage
Check trace enabled befoe tracing
2016-12-22 15:36:05 -08:00
Ron Buckton d0b7d4a93f Switch to getApparentType 2016-12-22 15:21:43 -08:00
Mohamed Hegazy 9a0d9d77aa Check trace enabled befoe tracing 2016-12-22 15:14:13 -08:00
Nathan Shively-Sanders 21c04bd027 Merge pull request #11591 from Microsoft/spread-jsx-expression-children
Add spread syntax to JsxExpression
2016-12-22 14:23:57 -08:00
Nathan Shively-Sanders 88ef816a49 Merge branch 'master' into spread-jsx-expression-children 2016-12-22 14:12:44 -08:00
Ron Buckton decc7c220e Fix non-thenable check for IndexedAccess types 2016-12-22 14:05:03 -08:00
Mohamed Hegazy b227cf01c9 Merge pull request #11119 from YuichiNukiyama/defult_export_error_message
Change error message for default export in namespace
2016-12-22 12:31:04 -08:00
Ron Buckton 4e4892a46e Merge pull request #12817 from Microsoft/improveAsyncStepping
Improve async stepping
2016-12-22 11:45:49 -08:00
Mohamed Hegazy 94b10f8186 Merge pull request #12667 from bb/patch-1
Normalize 'basePath' in 'parseJsonConfigFileContent'
2016-12-22 11:42:21 -08:00
Mohamed Hegazy 7e98fc71d0 Merge pull request #13111 from SaschaNaz/formatDestruct
Format destructuring by brace format option
2016-12-22 10:23:06 -08:00
Mohamed Hegazy fbe7a4fb8d Merge pull request #13125 from flowmemo/fix-13114
fix issue #13114
2016-12-22 10:10:42 -08:00
Mohamed Hegazy e1872dfdaa Merge pull request #13127 from arusakov/old_style_literal_types_in_enums
Disallow old style octal literals in enums
2016-12-22 10:00:33 -08:00