Ron Buckton
f9ae3e4f2b
Initial support for globs in tsconfig.json
2015-12-03 10:44:24 -08:00
Wesley Wigham
b14b7e9172
Merge pull request #5909 from Microsoft/patch-stringify
...
Use typeof to check for presence of `JSON` global
2015-12-02 21:19:24 -08:00
Wesley Wigham
a5a6c10322
use typeof to check for presence of JSON global
2015-12-02 21:06:32 -08:00
Wesley Wigham
83e61cfa68
fix esmodule big, unify export emit between es6/pre-es6
2015-12-02 20:50:24 -08:00
Wesley Wigham
859cc53c11
Add tests, remove internal annotation form enum
2015-12-02 19:49:43 -08:00
Wesley Wigham
c4cff9833d
first pass at this type predicates
2015-12-02 18:35:49 -08:00
SaschaNaz
83eb6acd13
Merge remote-tracking branch 'refs/remotes/Microsoft/master' into indentSuppressor
2015-12-03 11:27:14 +09:00
Nathan Shively-Sanders
a4770afc69
Merge pull request #5777 from Microsoft/elaborate-interface-signature-errors
...
Elaborate interface signature errors
2015-12-02 15:54:07 -08:00
Nathan Shively-Sanders
4338dcb308
Add comment for use of isPrimitiveApparentType
2015-12-02 15:26:10 -08:00
Nathan Shively-Sanders
c82fe86315
Remove apparent type of primitives from errors
...
And accept baselines
2015-12-02 15:16:04 -08:00
Yui T
58a83f1e45
Fix linter error
2015-12-02 13:57:10 -08:00
Yui T
9ffa3cd3e5
Check grammar for let/const declaration for all targets
2015-12-02 13:42:43 -08:00
Paul van Brenk
dfb32c5dae
Simplified after CR feedback.
2015-12-02 11:49:54 -08:00
Sheetal Nandi
086d3945eb
Merge branch 'master' into jsBinderErrors
2015-12-02 11:36:11 -08:00
Anders Hejlsberg
181c10a78f
Ensure that different type parameters are never considered identical
2015-12-02 10:23:28 -08:00
Anders Hejlsberg
94129a5047
Propagate 'this' type in constraint checking
2015-12-02 09:45:34 -08:00
Wesley Wigham
90391fed41
Merge pull request #5881 from weswigham/rootdir-module-names
...
Respect root dir/common src dir when generating module names
2015-12-01 23:32:22 -08:00
Vladimir Matveev
9a9b51f8f1
merge with master
2015-12-01 21:36:02 -08:00
Wesley Wigham
81e012f90f
dont canonicalize the filename when generating names, just use the absolute path
2015-12-01 18:53:54 -08:00
Paul van Brenk
8d3e4f3475
cr feedback
2015-12-01 17:44:43 -08:00
Wesley Wigham
951a77f7bd
respect root dir/common src dir when generating module names
2015-12-01 17:34:40 -08:00
Mohamed Hegazy
19d7e629da
Merge pull request #5852 from holtwick/feature/await_for_es5
...
Enable await in ES5 and ES2015 script mode
2015-12-01 17:08:09 -08:00
Paul van Brenk
956a6b720a
Add support for Chakra Host in sys.
2015-12-01 16:18:06 -08:00
Anders Hejlsberg
973ba4b50e
Allow type parameters in constraints
2015-12-01 15:51:43 -08:00
Ryan Cavanaugh
c4b0b62bfc
Merge fixup
2015-12-01 15:06:53 -08:00
Ron Buckton
7d920c2aad
Merge pull request #5841 from Microsoft/fixAsyncReferencedImport
...
Fixes #5789 .
2015-12-01 15:04:10 -08:00
Wesley Wigham
02d96f67bb
trio of missed style nits
2015-12-01 14:57:59 -08:00
Ryan Cavanaugh
bc92e4e9b0
Merge pull request #5596 from RyanCavanaugh/statelessFunctionComponents
...
Stateless function components in JSX
2015-12-01 14:51:18 -08:00
Wesley Wigham
0464138c84
Merge pull request #5866 from weswigham/unnamed-default-exports
...
Fix #5844 - add many new tests covering named/anonymous default exports
2015-12-01 14:36:02 -08:00
Wesley Wigham
130f3304ea
Style nits for the style nit god
2015-12-01 14:35:26 -08:00
Sheetal Nandi
0c8aa41b26
Merge pull request #5835 from Microsoft/noEmit
...
Do not emit files if noEmit is specified
2015-12-01 14:34:28 -08:00
Ryan Cavanaugh
c3b59d156f
Merge branch 'master' into javaScriptPrototypes
...
# Conflicts:
# src/compiler/binder.ts
# src/compiler/checker.ts
# src/harness/fourslash.ts
2015-12-01 14:34:15 -08:00
Ron Buckton
67a4fe5d67
Support for assignment/destructuring using super in an async method
2015-12-01 14:29:37 -08:00
Ryan Cavanaugh
bafe053925
Merge branch 'master' into statelessFunctionComponents
2015-12-01 14:21:33 -08:00
Wesley Wigham
cff83c5081
Fix #5844 - add many new tests covering named/anonymous default exports
2015-12-01 14:05:46 -08:00
Daniel Rosenwasser
4092de6993
Merge pull request #5736 from UBC-CPEN/issue-5173
...
Give more helpful error when trying to set default values on an interface.
2015-12-01 13:05:09 -08:00
Ron Buckton
88a43ccb4a
Fix emit for type as expression
2015-12-01 12:12:31 -08:00
Dirk Holtwick
acd1760c8c
Fix whitespace issues
2015-12-01 20:32:53 +01:00
Dirk Holtwick
c12d29bda5
Simplifying the pre ES6 async/await change
2015-12-01 20:26:20 +01:00
Ron Buckton
2745895064
Alternate approach to fix super calls in async methods.
2015-12-01 11:13:54 -08:00
Zhengbo Li
5e86ca1ba8
Merge pull request #5836 from zhengbli/SyncTSJS
...
Sync the dom.generated.d.ts files from TSJS repo
2015-12-01 10:46:25 -08:00
Vladimir Matveev
c7a65b558e
do not error on 'super' property access in ES6
2015-12-01 10:00:00 -08:00
Dirk Holtwick
1fb8a249df
Enable await in ES6 and ES2015 script mode
...
Even though strictly generators are an ES6 feature the real world support
is large enough to use the feature in well known environments like
node.js or Electron app. Since the previous output was not working at
all anyway it feels like a good compromise to at least emit working code
while still having the warning in place. The user would also need to add
"use strict" on top of her .ts file to make it work with node.js.
2015-12-01 10:26:14 +01:00
Nathan Yee
144d24c2cb
Change "object type literal" to "type literal"
2015-11-30 21:52:50 -08:00
Vladimir Matveev
f18e20316a
fix merge issues
2015-11-30 20:41:12 -08:00
Vladimir Matveev
0d0de5ac48
Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution
2015-11-30 20:30:16 -08:00
Ron Buckton
c792fd2d8e
Merge branch 'master' into fixAsyncReferecedImport
2015-11-30 16:45:34 -08:00
Sheetal Nandi
f315fc1c9e
Merge branch 'master' into noSourcemapNames
2015-11-30 16:33:18 -08:00
Sheetal Nandi
322f084370
Merge branch 'master' into noSourcemapNames
2015-11-30 16:27:11 -08:00
Vladimir Matveev
b40079e1da
Merge pull request #5824 from Microsoft/implicitReturnInferredVoid
...
do not report 'noImplicitReturns' error if inferred return type of th…
2015-11-30 16:16:25 -08:00