Commit Graph

11606 Commits

Author SHA1 Message Date
Mohamed Hegazy
15d870bdcf Use Function instead of call and construct signatures 2016-11-23 10:56:42 -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
Yuichi Nukiyama
4c9ab41e3d Merge branch 'master' into defult_export_error_message 2016-11-23 11:40:10 +09:00
Yuichi Nukiyama
31d0a5f225 Merge remote-tracking branch 'tsupstream/master' 2016-11-23 11:39:44 +09:00
jramsay
855431a943 Merge pull request #12373 from Microsoft/RenameTypingOptions
Rename typingOptions.enableAutoDiscovery to typeAcquisition.enable
2016-11-22 17:22:30 -08:00
Jason Ramsay
2b89d919a0 Addressing CR feedback 2016-11-22 17:08:43 -08:00
Anders Hejlsberg
864e1797d9 Merge pull request #12396 from Microsoft/getTypeOfExpression
Introduce 'getTypeOfExpression' function
2016-11-22 15:33:37 -08:00
Vladimir Matveev
680fb2ea1b add typings installer user agent for npm requests (#12446)
* add typings installer user agent for npm requests

* address PR feedback: change name of user agent
2016-11-22 14:56:18 -08:00
Anders Hejlsberg
d7dd0289d5 Distribute isomorphic mapped types over union types 2016-11-22 14:27:39 -08:00
Tim Lancina
61204cc05d Re-add sourceFiles to program emit callback
Addresses https://github.com/Microsoft/TypeScript/issues/12444.
2016-11-22 14:20:47 -06:00
Mohamed Hegazy
75a9435d43 Merge pull request #12433 from Microsoft/updatelibreducesymbols
Port lib changes
2016-11-22 11:26:04 -08:00
Ryan Cavanaugh
86583d495c Merge pull request #12441 from RyanCavanaugh/jsDocAugments
Support JSDoc @augments tag
2016-11-22 11:23:45 -08:00
Zhengbo Li
103090b60e report config errors when config file changed (#12372) 2016-11-22 10:56:46 -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
Mohamed Hegazy
ab8d6c0dab Port lib changes 2016-11-21 22:45:36 -08:00
Jason Ramsay
70e130b08c Maintain support for deprecated API typingOptions.enableAutoDiscovery 2016-11-21 18:17:27 -08:00
Mohamed Hegazy
b8b6e61491 handel missing files gracefully 2016-11-21 17:26:18 -08:00
Mohamed Hegazy
5403ce62ed normalize path in harness 2016-11-21 17:26:10 -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
1710df5f28 Type of for-in variable is keyof T when object type is a type parameter 2016-11-21 12:56:32 -08:00
Vladimir Matveev
4c6b94f16f wrap subexpressions of conditional expressions in parens if necessary (#12420) 2016-11-21 12:52:13 -08:00
Andy
90ee161391 Merge pull request #12350 from Microsoft/default_excludes
Make "exclude" default to empty if "include" is present.
2016-11-21 12:23:53 -08:00
Anders Hejlsberg
854a20f1fe Update Record<K, T> type 2016-11-21 11:42:21 -08:00
Anders Hejlsberg
76ceab97dd Make keyof T a string-like type 2016-11-21 11:41:51 -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
Nathan Shively-Sanders
409253145e Merge pull request #12335 from Microsoft/getJSDoc-cleanup
getJSDocs cleanup
2016-11-21 11:30:27 -08:00
Andy
baa228bbe8 Merge pull request #12415 from Microsoft/fix_lint
Fix lint errors
2016-11-21 10:53:16 -08:00
Andy Hanson
7c1f33f913 Fix lint errors 2016-11-21 10:42:54 -08:00
Zhengbo Li
110c3ac6ac Add locale options to tsserver (#12369)
* add locale options to tsserver

* make sys an argument

* fix mistakes and address code review
2016-11-21 10:30:38 -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
Mohamed Hegazy
f8b8465a4c Merge pull request #12378 from andraaspar/master
Fix issue #12260.
2016-11-20 15:07:31 -08:00
Anders Hejlsberg
4ed3225c06 Add optimized getTypeOfExpression function 2016-11-20 08:13:39 -08:00
Marius Schulz
cd70f22b88 Add “|” and “&” to list of tokens that start a type 2016-11-20 10:48:03 +01:00
Marius Schulz
443abe5373 Allow one leading ignored “|” or “&” in a type position 2016-11-19 22:30:18 +01:00
Anders Hejlsberg
dcd225a892 Fix comparable relation for keyof T
Treat keyof T as string | number for purposes of indexing
Allow indexed access types with for-in and in operator
2016-11-19 09:03:23 -08:00
András Parditka
c96bc89982 Fix issue #12260.
Fixed tsserver crashing on Android (Termux).
2016-11-19 11:28:11 +01:00
Yuichi Nukiyama
94c78961ef modify error message 2016-11-19 16:18:20 +09:00
Jason Ramsay
5a9451ae23 Rename typingOptions.enableAutoDiscovery to typeAcquisition.enable 2016-11-18 18:14:32 -08:00
Ron Buckton
1980334328 Merge branch 'master' into asyncGenerators 2016-11-18 17:55:56 -08:00
Yuichi Nukiyama
725dbc2add Merge branch 'master' into defult_export_error_message 2016-11-19 10:51:42 +09:00
Yuichi Nukiyama
4edf1b714a Merge remote-tracking branch 'tsupstream/master' 2016-11-19 10:49:52 +09:00
Ron Buckton
32bcc9749b Revert diagnostic error number change 2016-11-18 17:05:00 -08:00
Ron Buckton
c72509b190 Added iterationMode switch, consolidate some tests, cleanup 2016-11-18 16:50:43 -08:00
Jason Ramsay
464bc0e9e0 Merge branch 'master' into tsconfigMixedContentSupportRedux 2016-11-18 16:15:15 -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
Jason Ramsay
7dd30dbfd4 tsconfig.json mixed content support 2016-11-18 15:51:28 -08:00
Nathan Shively-Sanders
0c5429d3b7 Add missed jsDoc rename in services' Node implementation
Why would you implement an interface using a *class*?
2016-11-18 15:48:31 -08:00