Commit Graph

5155 Commits

Author SHA1 Message Date
Vladimir Matveev
500cadac5c add transpileModule function that can return emitted source map 2015-07-22 11:58:27 -07:00
Arthur Ozga
831bc389c2 make RunnerBase abstract 2015-07-21 14:59:39 -07:00
Anders Hejlsberg
4e85864b2d Merge pull request #3823 from Microsoft/strictObjectLiterals
Strict object literal assignment checking
2015-07-21 11:29:10 -07:00
Anders Hejlsberg
57f1a99322 Adding comma in error message 2015-07-21 11:20:20 -07:00
Vladimir Matveev
d057f56d8c Merge pull request #3945 from Microsoft/bulkReexportInSystem
System: use batching when doing star exports
2015-07-21 10:52:38 -07:00
Vladimir Matveev
45affe4122 Merge pull request #3944 from Microsoft/constEnumModules
treat modules that are merged with values as non-const-enum
2015-07-21 10:51:14 -07:00
Jason Freeman
4e0acc9fc1 Merge pull request #3586 from vvakame/addEsModule
improve  module loading interoperability for babel
2015-07-20 23:52:38 -07:00
Vladimir Matveev
22961e5240 System: use bulk exports 2015-07-20 22:40:22 -07:00
Vladimir Matveev
43347c79ec treat modules that are merged with values as non-const-enum 2015-07-20 21:49:15 -07:00
Jason Freeman
fffe6c5fb5 Merge branch 'master' of https://github.com/Microsoft/TypeScript into remove_resolveLocation 2015-07-20 13:40:17 -07:00
Jason Freeman
05bc4fecb1 Address PR feedback 2015-07-20 13:40:03 -07:00
Daniel Rosenwasser
96b02a83ca Merge pull request #3879 from Microsoft/stringifySpaceParam
Make JSON.stringify's 'space' parameter have type 'string | number'.
2015-07-20 12:55:12 -07:00
Anders Hejlsberg
155ee4b905 Better error message 2015-07-20 07:16:53 -07:00
Anders Hejlsberg
2913cb023b Merge branch 'master' into strictObjectLiterals
Conflicts:
	tests/baselines/reference/typeGuardFunction.types
2015-07-19 11:45:25 -07:00
Anders Hejlsberg
a05ebc469c Preserve order in union types 2015-07-19 11:22:32 -07:00
kimamula
9c9e39e7a3 Add includes method to String interface, and remove contains 2015-07-18 18:50:41 +09:00
Jason Freeman
e2303b1ae8 Clean up the language service aliases to check functions 2015-07-17 17:22:58 -07:00
Jason Freeman
3b78377cf0 Clean up pushTypeResolution 2015-07-17 17:22:54 -07:00
Jason Freeman
c0b3835b19 Instantiate signatures if there is an overload resolution error but type arguments present 2015-07-17 17:22:51 -07:00
Jason Freeman
48588b622e Only consider a type resolution sequence a cycle if none of the items in the sequence have types 2015-07-17 17:22:47 -07:00
Jason Freeman
fbe4246d39 Remove resolveLocation 2015-07-17 17:22:44 -07:00
Jason Freeman
2c5ba08266 Merge pull request #3787 from Microsoft/fixingTypeParameters
Fix type parameters upon subsequent visits to a parameter that caused fixing the first time
2015-07-17 16:05:28 -07:00
Jason Freeman
6df0f3d4aa Fix comment 2015-07-17 14:52:24 -07:00
Jason Freeman
cf6cfed160 Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixingTypeParameters 2015-07-17 14:16:48 -07:00
Jason Freeman
27c339aa90 Merge branch 'master' of https://github.com/Microsoft/TypeScript into tupleTypesAny 2015-07-17 14:16:28 -07:00
Daniel Rosenwasser
33794b7c8e Merge pull request #3900 from Microsoft/emptyBindingAssignmentPatterns
Properly emit empty assignment patterns
2015-07-17 14:03:33 -07:00
Jason Freeman
ad67cd3199 Don't fall back to any when typing tuples 2015-07-16 19:03:45 -07:00
Yui
07af6ca414 Merge pull request #3901 from Microsoft/fixReadingRWC
Fix reading rwc file
2015-07-16 18:34:08 -07:00
Yui T
65a9713d80 Fix reading rwc file 2015-07-16 18:26:46 -07:00
Daniel Rosenwasser
0bdc79fbb8 Only emit the RHS in an empty assignment pattern. 2015-07-16 17:40:07 -07:00
Anders Hejlsberg
c8423d3a89 Getting rid of subtype reduction for union types 2015-07-16 15:27:53 -07:00
Daniel Rosenwasser
439c14f663 Merge pull request #3636 from Microsoft/semanticBindingPropNames
Enable semantic operations on binding element property names
2015-07-16 15:01:46 -07:00
Dirk Baeumer
61ca65f22f Fixed #3887 tsserver drops responses 2015-07-16 10:40:06 +02:00
Anders Hejlsberg
d34557a377 Deduplication of tuple types in unions 2015-07-15 21:09:27 -07:00
jramsay
01244d60da Merge pull request #3546 from Microsoft/tsConfigExcludeLSSupport
tsconfig.json exclude LS support
CoreServicesShimHost and CoreServicesShimHostAdapter changes to support tsconfig.json exclude from the language service.
2015-07-15 19:15:09 -07:00
Jason Freeman
842a5b7043 Merge pull request #3880 from Microsoft/superElementAccess
Allow super element access
2015-07-15 17:13:12 -07:00
Daniel Rosenwasser
ca3c14f8a2 Merge branch 'master' into semanticBindingPropNames
Conflicts:
	src/harness/fourslash.ts
2015-07-15 16:47:07 -07:00
Mohamed Hegazy
4cd7f079e3 Move startIndex declaration to the top 2015-07-15 16:43:13 -07:00
Mohamed Hegazy
f2918fd2a4 Merge branch '3454' of https://github.com/ShyykoSerhiy/TypeScript into ShyykoSerhiy-3454 2015-07-15 16:34:19 -07:00
Daniel Rosenwasser
fdd1f30a95 Enable retrieving the type of a binding property name when an initializer/type annotation is present. 2015-07-15 15:56:13 -07:00
Daniel Rosenwasser
5c6a3d73b9 Use type predicate for 'isVariableLike'. 2015-07-15 15:53:42 -07:00
Daniel Rosenwasser
1f6e2ddeac Fixed reporting of problems with tests. 2015-07-15 15:53:11 -07:00
Jason Freeman
c3879bc0d4 Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixingTypeParameters 2015-07-15 15:22:15 -07:00
Jason Freeman
95cd3c3d0f Allow super element access 2015-07-15 14:42:13 -07:00
Daniel Rosenwasser
d17f13a5eb Merge pull request #3818 from Microsoft/exportSpecifierCompletions
Support completions in exports with module specifiers.
2015-07-15 14:23:20 -07:00
Jason Ramsay
dea66a66dc Fix comment spacing for readDirectory in shims.ts 2015-07-15 14:19:54 -07:00
Jason Ramsay
52423f0e6e CoreServicesShimHost and CoreServicesShimHostAdapter changes to support TSConfig exclude from the language service 2015-07-15 14:07:48 -07:00
Daniel Rosenwasser
79dcc43b50 Make JSON.stringify's 'space' parameter have type 'string | number'. 2015-07-15 13:53:54 -07:00
Vladimir Matveev
93e5cae729 addressed PR feedback: added comments 2015-07-15 13:16:12 -07:00
Vladimir Matveev
7d6f8f33ce dispose snapshot only if new file differs from the old file 2015-07-15 13:15:56 -07:00