Commit Graph

7976 Commits

Author SHA1 Message Date
Kanchalai Tanglertsampan
39c75fd438 Simplify giving error message and remove unnecessary error 2016-01-26 15:34:53 -08:00
Vladimir Matveev
322126d106 Merge pull request #6628 from Microsoft/thisTypeAsConstraint
break on 'this' type in hasConstraintReferenceTo
2016-01-26 14:58:35 -08:00
Lucien Greathouse
f9eddcebc8 Update Array.concat type signature to fix #6594 2016-01-26 14:25:16 -07:00
Ron Buckton
05803f5285 Added comments for new flags in types.ts 2016-01-26 12:55:03 -08:00
Ron Buckton
35044d1293 Added error when return type is not the global Promise 2016-01-26 12:47:53 -08:00
Ron Buckton
95422fa595 merge branch 'alternateFixSuperInAsyncMethod' into reservePromiseInTopLevelModule 2016-01-26 12:26:49 -08:00
Ron Buckton
da6aadbea8 Merge branch 'master' into alternateFixSuperInAsyncMethod 2016-01-26 11:49:30 -08:00
Ron Buckton
b00cae87b3 Moved isSuperPropertyOrElementAccess to utilities 2016-01-26 11:36:20 -08:00
Vladimir Matveev
910fbba156 break on 'this' type in hasConstraintReferenceTo 2016-01-26 10:16:46 -08:00
Ron Buckton
3e0c84e43b PR feedback 2016-01-25 17:44:07 -08:00
Mohamed Hegazy
add91052bb Update version 2016-01-25 17:08:15 -08:00
Ryan Cavanaugh
6febe3b503 Merge pull request #6562 from RyanCavanaugh/jsIsJsx
Treat .js as JSX
2016-01-25 16:15:52 -08:00
Mohamed Hegazy
85d09e4a9d Merge pull request #6512 from masaeedu/allowMissingReturnForVoidAnyUnion
Allow missing return for void any union
2016-01-25 15:12:40 -08:00
Daniel Rosenwasser
6ff1bbee4c Merge pull request #6597 from plantain-00/use_const_rather_than_var_when_target_es6
Use const rather than var when target es6
2016-01-25 14:14:05 -08:00
Ryan Cavanaugh
c38021ffb8 Lint 2016-01-25 13:38:00 -08:00
Vladimir Matveev
8a8ed0a871 update implementation based on the results of design meeting 2016-01-25 11:49:26 -08:00
Vladimir Matveev
2b2b150dc7 Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution 2016-01-25 11:28:02 -08:00
Ron Buckton
4d3f6e76b8 Error for Promise redeclaration in module with async 2016-01-25 10:32:34 -08:00
Paul van Brenk
f947f6abb4 Merge pull request #6602 from paulvanbrenk/master
Fix up todo comment
2016-01-24 22:27:42 -08:00
york yao
d06d66cf5d use a local string rather than a function 2016-01-25 13:35:12 +08:00
Vladimir Matveev
cb3e93f75b Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution 2016-01-24 19:57:13 -08:00
york yao
72c3bb6930 extract a helper method 2016-01-25 10:48:23 +08:00
Paul van Brenk
700af6a2ce Fix up todo in jsdoccomment template code. 2016-01-24 16:08:45 -08:00
york yao
88676d680f a better way since languageVersion is a number 2016-01-25 07:50:22 +08:00
Anders Hejlsberg
7561642104 Adding const/readonly to core.d.ts and es6.d.ts 2016-01-24 15:44:13 -08:00
Anders Hejlsberg
c826a900bc Merge branch 'master' into readonlyMembers
Conflicts:
	src/compiler/types.ts
2016-01-24 15:21:03 -08:00
Anders Hejlsberg
49dd54e91a Include readonly in type equality checks + Treat more symbols as readonly 2016-01-24 13:44:05 -08:00
york yao
ac196eb2aa use const rather than var when emitting external import declaration and the target is es6 2016-01-24 17:10:44 +08:00
Anders Hejlsberg
ee0060bb2f No readonly checks in type relationships + No assignments through namespace imports 2016-01-23 15:35:33 -08:00
falsandtru
5cb13f3909 Remove clear method in WeakSet and WeakMap 2016-01-23 19:08:32 +09:00
Ryan Cavanaugh
00398d6c9e Remove unrelated changes 2016-01-22 15:41:00 -08:00
Ryan Cavanaugh
57fb5fa67b Consolidate branches 2016-01-22 15:17:20 -08:00
Ryan Cavanaugh
0d480a6e1b Remove value-side JSDoc type lookup fallback 2016-01-22 15:15:58 -08:00
Ryan Cavanaugh
a07a7c0b3c Remove unreachable code 2016-01-22 15:14:58 -08:00
Ryan Cavanaugh
af4fb093f7 Rename getTypeParametersFromJSDocTemplate 2016-01-22 15:14:29 -08:00
Ryan Cavanaugh
6303d8c723 Remove incorrect changes from server.ts 2016-01-22 15:13:54 -08:00
Ryan Cavanaugh
64c2d66ccb Merge branch 'master' into jsDocFinal 2016-01-22 15:10:02 -08:00
Daniel Rosenwasser
d5a585fb96 Fix 'includes' method in 'Int8Array'. 2016-01-22 13:43:23 -08:00
Anders Hejlsberg
fac1bf6eef Disallow assigments to exported variables from external modules 2016-01-22 10:32:17 -08:00
YuichiNukiyama
1eda3efbed Add Array.prototype.includes
Add Array.prototype.includes method. method of comments  I've quoted
from
[MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes).
And change Jakefiles.js to build lib.es7.d.ts.
2016-01-22 12:08:28 +00:00
Ron Buckton
6084dec8b9 Merge branch 'master' into alternateFixSuperInAsyncMethod 2016-01-21 16:52:45 -08:00
Zhengbo Li
931d162620 Merge pull request #6545 from zhengbli/supportJsconfig
Add support for jsconfig.json in language service
2016-01-21 16:35:17 -08:00
Yui T
a1acf8f0f3 Merge branch 'master' into fix4867_transpiling 2016-01-21 16:19:25 -08:00
Yui T
125d1f448a Address PR 2016-01-21 16:16:52 -08:00
Zhengbo Li
31f5502f2b set default module to commonjs for jsconfig.json 2016-01-21 16:05:44 -08:00
Vladimir Matveev
f252b9dd58 handle undefined entry as export specifier 2016-01-21 13:35:58 -08:00
Ryan Cavanaugh
2653a8da46 Treat .js as JSX 2016-01-21 12:27:11 -08:00
Zhengbo Li
ea94a05feb Add support for jsconfig in shims 2016-01-21 10:43:07 -08:00
Ron Buckton
2374f1f9a5 Merge branch 'master' into moveEmitFlagsToBinder 2016-01-20 17:53:47 -08:00
Zhengbo Li
d64b603e4b revert breaking changes 2016-01-20 16:53:15 -08:00