zhengbli
ddadb472a6
Add This type to lib
2016-06-28 14:45:56 -07:00
Nathan Shively-Sanders
8ff873e7a6
Fix crash in async functions when targetting ES5.
...
When targetting ES5 and with --noImplicitReturns,
an async function whose return type could not be determined would cause
a compiler crash.
2016-06-28 13:34:01 -07:00
Yui
29107e636b
Fix 9363: Object destructuring broken-variables are bound to the wrong object ( #9383 )
...
* Fix emit incorrect destructuring mapping in var declaration
* Add tests and baselines
* Add additional tests and baselines
2016-06-28 13:33:11 -07:00
zhengbli
67f0ffe7fb
Port 9396 to release 2.0
2016-06-28 13:06:26 -07:00
Zhengbo Li
50177b14d0
Merge pull request #9396 from zhengbli/fix9186
...
Check getCurrentDirectory availability in getEffectiveTypeRoots
2016-06-28 13:01:51 -07:00
Mohamed Hegazy
ec020776c2
Merge pull request #9361 from SaschaNaz/noFormatInJsxElement
...
Fix formatting on JsxElement/JsxExpression
2016-06-28 12:13:10 -07:00
zhengbli
d5cad239e8
Add nullchecks for typeRoots, remove getCurrentDirectory from ServerHost as it is always the installation location
2016-06-28 12:10:26 -07:00
zhengbli
6ff91b84ab
Add getCurrentDirectory to ServerHost
2016-06-28 11:53:30 -07:00
Zev Spitz
3fdaf194f7
VarDate interface and relevant Date.prototype members
2016-06-28 21:26:18 +02:00
Kagami Sascha Rosylight
6e984eb3a3
new options should be optional for compatibility
2016-06-29 03:28:22 +09:00
Bill Ticehurst
8bf3d54524
Merge pull request #7075 from Microsoft/loadJsFromModules
...
Load JavaScript modules from Node packages
2016-06-27 18:42:12 -07:00
Ron Buckton
9e3d6f8585
Additional comments per PR feedback.
2016-06-27 17:39:24 -07:00
Ron Buckton
644e4dacaf
Added es5 conformance tests for async arrow functions, add error for referencing 'arguments' in a generator.
2016-06-27 17:34:19 -07:00
Bill Ticehurst
3ccb8b2b38
Merge branch 'loadJsFromModules' into loadJsFromModules-2.0
2016-06-27 17:15:55 -07:00
Ron Buckton
203dab4412
Added additional es5 conformance tests, better emit for functions returning global promise, pass this to __generator
2016-06-27 17:12:24 -07:00
Bill Ticehurst
ddad35a680
Marked new method internal
2016-06-27 16:49:53 -07:00
Bill Ticehurst
d8e3bd99e8
Added emitHost method to return source from node modules
2016-06-27 16:32:29 -07:00
Vladimir Matveev
9bec244469
remove commented code, added optionality to properties
2016-06-27 16:07:37 -07:00
Mohamed Hegazy
bb53b8423c
Merge pull request #9377 from Microsoft/updateVersion
...
Update version to 2.0.0
2016-06-27 16:06:37 -07:00
Yui
9cc48c829d
Remove unused compiler option ( #9381 )
2016-06-27 15:58:29 -07:00
Vladimir Matveev
05801fc5db
fix linter
2016-06-27 15:36:41 -07:00
Vladimir Matveev
24a6e50195
added tests
2016-06-27 15:29:04 -07:00
Ron Buckton
48a9562e41
Added es5 conformance tests for async function declarations. Add ability to treat some statements as if they were prologue directives.
2016-06-27 15:26:33 -07:00
Vladimir Matveev
74d3881c21
fix merge issue
2016-06-27 14:28:17 -07:00
Vladimir Matveev
96a867a52e
add support for single inferred project
2016-06-27 14:25:43 -07:00
Vladimir Matveev
15f825b6b3
merge with origin/master
2016-06-27 14:25:18 -07:00
Ron Buckton
393ee28fb0
Move 'use strict' directive out of generator for async function.
2016-06-27 13:48:47 -07:00
Mohamed Hegazy
f67f1f7db7
Update version to 2.0.0
2016-06-27 13:43:07 -07:00
Mohamed Hegazy
cc1226cd8a
Merge pull request #4609 from SaschaNaz/fixExportImportFormatting
...
Fix named export/import formatting
2016-06-27 13:30:37 -07:00
Ron Buckton
4a16f65c00
Removed extranous original parameter.
2016-06-27 13:19:24 -07:00
Ron Buckton
a858db6ac8
Remove extraneous comments.
2016-06-27 13:14:57 -07:00
Richard Knoll
dbdd9893f5
Import completions for require calls
2016-06-27 13:06:40 -07:00
zhengbli
d9b8fad728
Fix type of the disableSizeLimit option
2016-06-27 11:46:58 -07:00
Vladimir Matveev
c89287e704
merge with origin/master
2016-06-27 10:29:57 -07:00
Bill Ticehurst
de559fb3f4
Fixed the regexp for removing full paths
2016-06-27 01:23:22 -07:00
Kagami Sascha Rosylight
cbfbfe1aa6
make rules optional
2016-06-27 16:04:53 +09:00
Bill Ticehurst
1b43bd8e83
Removed old TODO comment
2016-06-26 23:33:46 -07:00
Bill Ticehurst
0174bda004
Merge branch 'master' into loadJsFromModules
2016-06-26 23:24:26 -07:00
Bill Ticehurst
e9a0c56d3c
Fixed bugs and linting
2016-06-26 20:48:22 -07:00
Kagami Sascha Rosylight
378c6b5fc7
format jsx expression
2016-06-26 15:17:05 +09:00
Kagami Sascha Rosylight
9dfcb4419c
do not format comma/closeparen in jsxelement
2016-06-25 19:23:46 +09:00
Kagami Sascha Rosylight
a8ac0efc1b
Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixExportImportFormatting
2016-06-25 17:57:55 +09:00
Kagami Sascha Rosylight
335737973e
Merge branch 'master' of https://github.com/SaschaNaz/TypeScript into fixExportImportFormatting
2016-06-25 17:53:46 +09:00
Anders Hejlsberg
e900ebf856
Make boolean assignable to union types containing both true and false
2016-06-24 21:12:44 -07:00
Yui
be2ca35b00
Fix 8467: Fix incorrect emit for accessing static property in static propertyDeclaration ( #8551 )
...
* Fix incorrect emit for accessing static property in static propertyDeclaration
* Update tests and baselines
* Update function name
* Fix when accessing static property inside arrow function
* Add tests and baselines
2016-06-24 17:40:07 -07:00
Yui
e182ecf2c9
Fix 8355: Fix emit metadata different between transpile and tsc --isolatedModule ( #9232 )
...
* Instead of returning undefined for unknownSymbol return itself
* Add Transpile unittest
* Wip - Add project tests
* Add project tests and baselines
* Update existed tests
* Add tests for emitting metadata with module targetting system
2016-06-24 17:39:49 -07:00
Vladimir Matveev
417c1254eb
fix casing
2016-06-24 17:27:18 -07:00
Vladimir Matveev
efa2b70ded
fix logger access issue
2016-06-24 16:49:24 -07:00
Nathan Shively-Sanders
fb3f823dde
Merge pull request #9167 from Microsoft/make-unions-and-intersections-of-readonly-properties-readonly
...
Unions and intersections of readonly properties are now also readonly
2016-06-24 16:02:01 -07:00
Vladimir Matveev
8bcca68102
[in progress] project system work - fixes in tests 2
2016-06-24 15:49:29 -07:00