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
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
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
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
about-code
66263b3782
Merge remote-tracking branch 'upstream/master'
2017-01-14 12:24:07 +01: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
Sheetal Nandi
4cbb50a00c
Merge pull request #13034 from Microsoft/unionWithNull
...
Add serialization of typenode for null/undefined/never as part of metadata type
2016-12-21 12:21:55 -08:00
Vladimir Matveev
330cceda17
cache results of module resolution for non-relative module names ( #13047 )
...
* cache results of module resolution for non-relative module names
* use cache to short-circuit failures
2016-12-21 10:02:28 -08:00
Sheetal Nandi
32568b3fc2
Test case when module member is object spread pattern
2016-12-21 09:45:04 -08:00
Mohamed Hegazy
328a5ef2ba
Merge pull request #13024 from Microsoft/package_json_unsupported_extension
...
Skip files from package.json "main" or "types" if they have an unsupported extension.
2016-12-20 15:44:37 -08:00
Sheetal Nandi
73a829279a
Support union of non identifier serialized type node with null/undefined/never
2016-12-19 16:50:17 -08:00
Sheetal Nandi
59403796c7
Add serialization of typenode for null/undefined/never as part of metadata type
...
Fixes #12684 and #11933
2016-12-19 14:17:42 -08:00
Mohamed Hegazy
8ae0376e75
Merge pull request #13016 from arusakov/disallow_old_style_octal_literal_types
...
Disallow old style octal literal types
2016-12-19 13:58:20 -08:00
Vladimir Matveev
0649c2272c
cache per-folder module resolutions during construction of the program ( #13030 )
2016-12-19 13:48:45 -08:00
Andy Hanson
720a3bfa16
Skip files from package.json "main" or "types" if they have an unsupported extension.
2016-12-19 08:10:05 -08:00
arusakov
142a6f6420
Disallow old style octal literal types
2016-12-19 11:49:01 +03:00
Ron Buckton
0f78f53780
Merge pull request #12967 from Microsoft/fix12749
...
Do not transform JSX tag names for ES3
2016-12-15 20:50:02 -08:00
Ron Buckton
40d08df90b
Do not transform JSX tag names for ES3
2016-12-15 16:33:49 -08:00