1823 Commits

Author SHA1 Message Date
Ron Buckton
9ba2a6b14a Skip type parameters. 2017-02-01 01:24:28 -08:00
Ron Buckton
b58ef9e932 Merge branch 'master' into genericDefaults 2017-01-30 14:32:00 -08:00
Nathan Shively-Sanders
cca68adf87 Import helpers skips __assign when target >= ES6
Instead, Object.assign is emitted.
2017-01-30 12:42:19 -08:00
Nathan Shively-Sanders
a67b80d5fa Merge pull request #13726 from Microsoft/allow-super-to-access-method-signatures
Allow super to access method signatures
2017-01-27 10:27:22 -08:00
Nathan Shively-Sanders
4d67b0c2b6 Allow super to access method signatures
Previously, super was only allowed to access method *declarations*. But
method signatures can come from interfaces that merge with classes, and
should also be accessible as methods on super.
2017-01-27 09:53:57 -08:00
Nathan Shively-Sanders
cabcaaadcb Property assignment is not an assignment target
In a destructuring assignment, a property assignment is not an
assignment target. Its initialiser is. For example:

```ts
({ source: target} = o);
```

Here, `target` is the assignment target. `source` is not. Previously,
both were assignment targets.
2017-01-26 16:08:55 -08:00
Vladimir Matveev
71d1a3f051 property handle misspelled namepath in @typedef tag (#13702) 2017-01-26 11:38:50 -08:00
Ryan Cavanaugh
76b1e95c3d Always call checkExpression on JSX attribute values
Fixes #13676
2017-01-25 10:40:59 -08:00
Vladimir Matveev
abc30b26c7 handle cases when body of for-of statement is expanded after loop conversion (#13677) 2017-01-25 09:53:34 -08:00
Andy Hanson
a68a7cea3f Merge branch 'master' into import_star_namespace 2017-01-25 07:03:35 -08:00
Mohamed Hegazy
4888e4f958 Merge pull request #13636 from ds300/preserve-jsx-but-output-.js-files
Add option to output .js files while preserving jsx
2017-01-23 23:22:45 -08:00
Ron Buckton
f5f1c7e304 Merge branch 'genericDefaults' of https://github.com/Microsoft/TypeScript into genericDefaults 2017-01-23 19:40:07 -08:00
Ron Buckton
15232fe17c Remove circular default check 2017-01-23 19:36:02 -08:00
David Sheldrick
7bf52ee1fd add notifications and tests for jsx react-native es3 2017-01-23 22:08:39 +01:00
Andy
6a192ceb6b Merge pull request #13598 from Microsoft/node_modules_bundled_emit
Clean up code for getting emitted files
2017-01-23 11:48:37 -08:00
Ron Buckton
76ba6a7f6a Merge branch 'master' into genericDefaults 2017-01-20 20:37:35 -08:00
Ron Buckton
6b2c8cb7df Defaults for type aliases 2017-01-20 20:33:41 -08:00
Vladimir Matveev
4ee8213dde do not capture 'arguments' when property name 'arguments' is met (#13600)
do not capture 'arguments' when property name 'arguments' is met
2017-01-20 19:59:26 -08:00
Ron Buckton
fd228a93a7 Remove partial inference 2017-01-20 18:30:06 -08:00
Ron Buckton
a2be5e263a Report error using type parameter from merged declaration 2017-01-20 17:58:28 -08:00
Sheetal Nandi
a185ddc885 Merge pull request #13584 from Microsoft/decoratorMetadata
Use the value symbol for decorator purpose only if it is same as type symbol
2017-01-20 13:46:19 -08:00
Andy Hanson
8886cefe58 Clean up code for getting emitted files 2017-01-20 10:46:15 -08:00
Mohamed Hegazy
d11d03a06c Fix https://github.com/DefinitelyTyped/DefinitelyTyped/issues/14036:
Remove assert.
2017-01-19 17:36:16 -08:00
Sheetal Nandi
d22b963b0b Add test for decorator referencing alias named Event 2017-01-19 14:22:22 -08:00
Ron Buckton
0b44a2c74c Flexible declaration merging 2017-01-19 12:38:56 -08:00
Ron Buckton
ca16ba8fe7 Added comments and additional circularity tests 2017-01-14 15:41:40 -08:00
about-code
66263b3782 Merge remote-tracking branch 'upstream/master' 2017-01-14 12:24:07 +01:00
Ron Buckton
442f5408b6 Updated Promise and PromiseLike to use defaults 2017-01-13 23:48:20 -08:00
Ron Buckton
3d3dae089f Adds support for type parameter defaults 2017-01-13 22:53:02 -08:00
Anders Hejlsberg
d7160c7b75 Merge pull request #13338 from Microsoft/fixCircularConstraints
Improve handling of circular constraints
2017-01-10 04:40:50 -10:00
Anders Hejlsberg
3bc8c7e015 Merge branch 'master' into fixMappedTypeCombinedMappers
# Conflicts:
#	src/compiler/checker.ts
2017-01-09 11:38:05 -08:00
Anders Hejlsberg
80ef89b822 Add regression test 2017-01-09 09:19:03 -08:00
Anders Hejlsberg
70763dabb5 Add regression test 2017-01-08 15:28:38 -08:00
Anders Hejlsberg
ee03c0dc87 Update tests 2017-01-06 17:19:34 -08:00
Sheetal Nandi
54ceb51d85 Fix the emit when jsx attribute expression is empty
Fixes #12994
2017-01-03 11:21:23 -08:00
about-code
d78247a402 Merge remote-tracking branch 'upstream/master' 2017-01-03 14:07:51 +01:00
Mohamed Hegazy
9865a17c48 Merge pull request #11222 from kitsonk/array-slice-typings
Improve Array.prototype.splice typing
2016-12-30 14:28:15 -08:00
about-code
ff828fd3a0 Merge remote-tracking branch 'upstream/master' 2016-12-30 12:06:33 +01:00
Mohamed Hegazy
e128b94dc2 Merge pull request #13192 from slawomir/13063-strictNullChecks-breaks-typeof
#13063 Fix strictNullChecks breaking typeof
2016-12-28 12:52:21 -08:00
Mohamed Hegazy
b82fe52ca4 Merge pull request #13191 from Microsoft/fix13157
Aggregate transform flags for ExpressionWithTypeArguments
2016-12-27 20:53:02 -08:00
Slawomir Sadziak
498568b16f #13063 Fix strictNullChecks breaking typeof
* Allow typeof to use not-auto variable in strictNullChecks mode
2016-12-28 05:18:53 +01:00
Ron Buckton
d7b61b2da5 Aggregate flags for ExpressionWithTypeArguments 2016-12-27 17:58:42 -08:00
Mohamed Hegazy
5928f60d62 Do not report helper module errors in ambient contexts for Rest helper 2016-12-27 16:45:26 -08:00
Ron Buckton
bec32d4721 Merge pull request #13134 from Microsoft/fix13128
Fix non-thenable check for IndexedAccess types
2016-12-27 11:02:40 -08:00
Herrington Darkholme
634dff27a1 Update upstream 2016-12-23 10:04:11 +08:00
Ron Buckton
decc7c220e Fix non-thenable check for IndexedAccess types 2016-12-22 14:05:03 -08:00
Alexander Rusakov
31abc59d11 Disallow old style octal literals in enums 2016-12-22 19:21:38 +03:00
Sheetal Nandi
0c2cce565c Merge pull request #13103 from Microsoft/metadataOfClassFromModule
Update current scope when visiting namespace elements
2016-12-21 13:59:31 -08:00
Sheetal Nandi
74a9924db7 Merge pull request #13100 from Microsoft/unusedLocalsInSpread
Do not report error on unused removed property from object spread when its module member
2016-12-21 13:59:05 -08:00
Sheetal Nandi
32c477a448 Test case for metadata type of class from a module 2016-12-21 12:28:29 -08:00