Wesley Wigham
0228ec3ced
preserve some old behavior at @DanielRosenwassers request
2015-12-08 17:45:11 -08:00
Wesley Wigham
459430165d
grand unified theory of predicate types
2015-12-08 17:08:57 -08:00
Wesley Wigham
b6eb4ae10f
fix generic instantiation, nested this guards now work
2015-12-08 15:00:47 -08:00
Wesley Wigham
be6e341d2a
Fix narrowing, interfaces. Expose issue with generic instantiation
2015-12-07 18:16:05 -08:00
Wesley Wigham
b9f310d4f2
first pass at this type predicate members
2015-12-03 18:21:36 -08:00
Wesley Wigham
d51dd84f6c
remove unneeded cast
2015-12-03 14:18:44 -08:00
Wesley Wigham
cfe2cc3608
utilize type guard on type guard logic more
2015-12-03 14:10:22 -08:00
Wesley Wigham
d7208e81d6
feedback from pr
2015-12-03 13:46:37 -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
Yui
f7303cdcf1
Merge pull request #5899 from Microsoft/fix4616_addtests
...
Add tests for quickinfo in type parameter inside type alias
2015-12-02 14:34:05 -08:00
Yui T
f83817a488
remove line and unused code
2015-12-02 13:47:19 -08:00
Yui T
135e091c2a
Add more tests
2015-12-02 13:45:52 -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
Wesley Wigham
81e012f90f
dont canonicalize the filename when generating names, just use the absolute path
2015-12-01 18:53:54 -08:00
Yui T
ace383d342
add tests
2015-12-01 18:39:02 -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
Wesley Wigham
e134169590
Merge pull request #5875 from weswigham/no-in-rule
...
lint rule forbidding the in keyword binary expression
2015-12-01 15:36:51 -08:00
Wesley Wigham
db4cc982ab
Merge pull request #5874 from weswigham/lint-all-things
...
lint all files before reporting a failure
2015-12-01 15:26:56 -08:00
Wesley Wigham
3085806fc2
lint rule forbidding the in keyword binary expression
2015-12-01 15:14:24 -08:00
Wesley Wigham
592d41c9cc
lint all filed before a failure
2015-12-01 15:05:08 -08:00
Ron Buckton
7d920c2aad
Merge pull request #5841 from Microsoft/fixAsyncReferencedImport
...
Fixes #5789 .
2015-12-01 15:04:10 -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
Ron Buckton
316ab1e749
Additional tests
2015-12-01 14:48:53 -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
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
783f65c6d9
Baseline update
2015-12-01 14:22:07 -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
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
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
Ron Buckton
c792fd2d8e
Merge branch 'master' into fixAsyncReferecedImport
2015-11-30 16:45:34 -08:00
Sheetal Nandi
dac1874c38
Merge pull request #5713 from Microsoft/noSourcemapNames
...
Do not emit names and name index mapping in source map
2015-11-30 16:45:03 -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
Sheetal Nandi
74d92f0fb6
Merge pull request #5724 from Microsoft/sourceMapAndBreakpointDecorators
...
Various fixes for sourcemap and breakpoints of decorators
2015-11-30 15:59:03 -08:00
Ron Buckton
aae67497b9
Merge pull request #5840 from Microsoft/fixExtraAwaiter
...
Fixes #5564 .
2015-11-30 15:45:13 -08:00
Sheetal Nandi
a87169829c
Merge branch 'master' into sourceMapAndBreakpointDecorators
2015-11-30 14:14:06 -08:00
Ron Buckton
c108042886
Fixes #5789 .
2015-11-30 14:10:39 -08:00
Sheetal Nandi
ccfa625b32
var rename as per PR feedback
2015-11-30 14:03:28 -08:00
Ron Buckton
6d159542cd
Fixes #5564 .
2015-11-30 13:12:41 -08:00
Ron Buckton
266600da08
Merge pull request #5780 from Microsoft/extractSourceMaps
...
Extract source map generation logic out of the emitter.
2015-11-30 12:51:36 -08:00
Sheetal Nandi
acedf3c247
Do not emit files if noEmit is specified
...
Handles #5799
2015-11-30 12:46:53 -08:00