Nathan Shively-Sanders
4ecf4f4e71
Merge pull request #5086 from Microsoft/abstract-semicolon-insertion
...
Automatic semicolon insertion for class modifiers
2015-10-05 10:35:42 -07:00
Yui T
ce7a054407
Update parser with new grammar
2015-10-05 10:34:48 -07:00
Ryan Cavanaugh
1e3125b8ed
Merge pull request #5046 from RyanCavanaugh/fix4675
...
Handle indirect imports of JSX elements from external modules
2015-10-05 10:28:07 -07:00
zhengbli
7fa26adf28
Redesigned directory watchers
2015-10-05 02:58:40 -07:00
Vladimir Matveev
6120f1f3da
fix linter issues
2015-10-04 22:45:08 -07:00
Vladimir Matveev
32b1ad36ec
do not emit exportsStar function if module does not expose any values
2015-10-04 22:00:57 -07:00
SaschaNaz
c9e237c2b3
Format template internal spaces
2015-10-05 07:02:22 +09:00
SaschaNaz
d0a20c7fbc
Merge remote-tracking branch 'Microsoft/master' into tsconfigpath
2015-10-05 04:55:31 +09:00
Anders Hejlsberg
d9933c8d0e
Accepting new baselines
2015-10-03 18:09:11 -07:00
Anders Hejlsberg
139b5545a0
Adding tests
2015-10-03 18:08:45 -07:00
Anders Hejlsberg
676a271aab
Defer instantiation of members of instantiated anonymous types
2015-10-03 18:08:29 -07:00
Vladimir Matveev
eb04f32e0e
Merge branch 'master' into reachabilityChecks
2015-10-03 00:30:26 -07:00
Vladimir Matveev
f0f5a0d71e
updated command line options, accepted baselines
2015-10-03 00:20:15 -07:00
Yui T
1326ba9820
Update grammar to error on none-parenthesis
2015-10-02 19:23:58 -07:00
Yui T
bf0903bd1b
Address PR on fixing tempalte tests
2015-10-02 19:23:19 -07:00
Yui T
ca5da9068a
Add tests
2015-10-02 19:23:04 -07:00
Yui T
5f7914ca62
Downlevel emit
2015-10-02 18:50:45 -07:00
Wesley Wigham
3c73a66ba7
removed umd as allowed, accepted new baselines
2015-10-02 17:51:59 -07:00
Wesley Wigham
03256e7c86
cusotm tests, forbid umd
2015-10-02 17:43:58 -07:00
Wesley Wigham
145fa0cdf6
Accept baselines
2015-10-02 17:11:03 -07:00
Wesley Wigham
ba2024f493
Remove obsoleted comment
2015-10-02 17:04:44 -07:00
Wesley Wigham
4c4087c656
Add compiler error for incompatible module formats
2015-10-02 17:03:29 -07:00
Daniel Rosenwasser
fd5dec4ff1
Accepted baselines.
2015-10-02 16:34:20 -07:00
Daniel Rosenwasser
4b736da231
Fixed issue in test.
2015-10-02 16:30:22 -07:00
Ron Buckton
331d26f402
Merge pull request #4741 from Microsoft/es3Decorators
...
Allow decorators in ES3
2015-10-02 16:22:14 -07:00
Wesley Wigham
da09f35aca
Jake hates deps
2015-10-02 16:21:20 -07:00
Daniel Rosenwasser
315b06dc99
Accepted baselines.
2015-10-02 16:09:57 -07:00
Daniel Rosenwasser
d8d72aabae
Separated the concept of apparent types from contextual types for string literal types.
...
In most cases, expressions are interested in the apparent type of the
contextual type. For instance:
var x = { hasOwnProperty(prop) { /* ... */ };
In the above, 'prop' should be contextually typed as 'string' from the
signature of 'hasOwnProperty' in the global 'Object' type.
However, in the case of string literal types, we don't want to get the
apparent type after fetching the contextual type. This is because the
apparent type of the '"onload"' string literal type is the global 'String'
type. This has adverse effects in simple assignments like the following:
let x: "onload" = "onload";
In this example, the right-hand side of the assignment will grab the type
of 'x'. After figuring out the type is "onload", we then get the apparent
type which is 'String'. This is problematic because when we then check the
assignment itself, 'String's are not assignable to '"onload"'s.
So in this case, we grab the contextual type *without* getting its
apparent type.
2015-10-02 16:05:32 -07:00
Nathan Shively-Sanders
be9548ade9
Merge branch 'master' into abstract-semicolon-insertion
2015-10-02 15:46:02 -07:00
Wesley Wigham
ff3d0f9211
Merge pull request #5087 from weswigham/tslint-update
...
tslint had a new release and added the no inferrable types rule
2015-10-02 15:43:00 -07:00
Daniel Rosenwasser
7b4e94dbd5
Accepted baselines.
2015-10-02 15:42:16 -07:00
Daniel Rosenwasser
f721971063
Capture compatible contextual types for unions containing string literals.
2015-10-02 15:41:12 -07:00
Daniel Rosenwasser
87f2957e4d
Accepted baselines.
2015-10-02 15:23:53 -07:00
Daniel Rosenwasser
20c2c4e5e5
Amended fourslash tests to expect double quotes.
2015-10-02 15:22:35 -07:00
Wesley Wigham
e16a14b5b3
tslint had a new release and added this rule, theirs was a little stricter
2015-10-02 15:15:39 -07:00
Daniel Rosenwasser
a3e7ccb108
Use normalized text for text on string literal types.
2015-10-02 15:00:46 -07:00
Nathan Shively-Sanders
04510ac157
Automatic semicolon insertion for class modifiers
...
This includes public, private, protected, abstract
async and declare already work this way, but it looks
like they didn't block the completion list, so I added
them to the list too.
2015-10-02 14:30:31 -07:00
Wesley Wigham
8e409f34c7
new baselines for sourcemaps tests (given that modules can now get emitted into single out)
2015-10-02 13:22:36 -07:00
Wesley Wigham
2d7b217d95
linter runs after tests via jake
2015-10-02 12:45:33 -07:00
Zhengbo Li
98eaeba4f1
temp save
2015-10-02 11:49:30 -07:00
Ryan Cavanaugh
19b208cec6
Merge pull request #5040 from RyanCavanaugh/fix4688
...
Identify JSX Spread Attributes as Expression parents
2015-10-02 08:00:32 -07:00
Vladimir Matveev
ca0d580a14
merge with master, fix linter issues
2015-10-01 23:20:24 -07:00
Vladimir Matveev
9d24e0f223
Merge branch 'master' into reachabilityChecks
2015-10-01 23:12:23 -07:00
Ron Buckton
8a41cdeb14
Fix linter errors
2015-10-01 20:16:40 -07:00
Wesley Wigham
122753b50a
sourcemap correctness
2015-10-01 19:23:12 -07:00
Wesley Wigham
c496c2f3c0
CI Against Node 4.1
...
Perf isn't as bad as 0.12, and it's the new LTS release series. TBH, we should probably also CI against `'node'` for the latest public version.
2015-10-01 18:56:36 -07:00
Wesley Wigham
cc95dcac1b
Fix lint error that was commited
...
This is what happens when your merge PRs by hand and forget to run the linter. You break everyone's PRs.
2015-10-01 18:33:52 -07:00
Daniel Rosenwasser
ed927d8cf6
Accepted baselines.
2015-10-01 16:58:17 -07:00
Daniel Rosenwasser
82545ce854
Added test for string types in tuples.
2015-10-01 16:58:03 -07:00
Ron Buckton
be6e43e108
Merge branch 'master' into es3Decorators
2015-10-01 16:56:25 -07:00