Ron Buckton
|
f96a9127e2
|
Adds new 'promised' type operator
|
2017-01-12 14:08:34 -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 |
|
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 |
|
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 |
|
Vladimir Matveev
|
f034022e25
|
lift multiple statements into block if necessary (#12965)
|
2016-12-15 16:31:50 -08:00 |
|
Daniel Rosenwasser
|
8e94d84953
|
Merge pull request #12893 from Microsoft/capturedThisFix
Avoid replacing last statement of derived constructors if 'this' is referenced.
|
2016-12-14 13:31:08 -08:00 |
|
Daniel Rosenwasser
|
dd0a3809d6
|
Added a tests for super property accesses within super calls of derived classes.
|
2016-12-14 12:48:02 -08:00 |
|
Nathan Shively-Sanders
|
ae2a13cf18
|
Merge pull request #12896 from Microsoft/implicit-any-error-on-explicit-any
Set symbol/flags only on (fresh) object spreads
|
2016-12-13 14:15:52 -08:00 |
|
Nathan Shively-Sanders
|
587ba8d0ae
|
Test:spreading any doesn't set flags on anyType
And update baselines
|
2016-12-13 13:55:13 -08:00 |
|
Vladimir Matveev
|
c71e6cc9ef
|
add a new line if after writing trailing comments (#12894)
|
2016-12-13 12:57:21 -08:00 |
|
Vladimir Matveev
|
e5e1533d49
|
mark types used in decorator metadata as referenced (#12890)
|
2016-12-13 11:46:06 -08:00 |
|
Mohamed Hegazy
|
24c56a5733
|
Merge pull request #12775 from Microsoft/fix12724
Fix error on extends in declaration file with importHelpers
|
2016-12-12 16:18:22 -08:00 |
|
Vladimir Matveev
|
d0506735e3
|
elaborate check before converting fresh literal type to regular (#12595)
|
2016-12-12 12:37:06 -08:00 |
|
Andy
|
a33e6536e0
|
Merge pull request #12852 from Microsoft/untyped_augmentation_2
Produce an error for an augmentation of an untyped module even if `moduleNotFoundError` is not defined
|
2016-12-12 12:33:37 -08:00 |
|
Nathan Shively-Sanders
|
65bb78d569
|
Merge pull request #12808 from Microsoft/self-referencing-spread-recursive-loop
Self-referencing spread recursive loop
|
2016-12-12 10:40:34 -08:00 |
|
Vladimir Matveev
|
496a14a021
|
create new lexical environment for the body of converted loop (#12831)
|
2016-12-12 10:18:30 -08:00 |
|
Vladimir Matveev
|
a604d84f5c
|
guard against visiting the same symbol table multiple times (#12818)
|
2016-12-12 10:17:07 -08:00 |
|
Andy Hanson
|
83eddb549e
|
Produce an error for an augmentation of an untyped module even if moduleNotFoundError is not defined
|
2016-12-12 07:36:54 -08:00 |
|
Nathan Shively-Sanders
|
809706ba00
|
Test self-assignment w/array spread in loop
|
2016-12-09 10:52:49 -08:00 |
|
Sheetal Nandi
|
81452c544a
|
Do not report unused local error on locals that are intended for removing properties with object spread
Fixes #12766
|
2016-12-08 15:12:35 -08:00 |
|
Sheetal Nandi
|
9505a18894
|
Add tests when object spread is used in destructuring
|
2016-12-08 14:35:35 -08:00 |
|
Ron Buckton
|
09761b5f07
|
Fix error on extends in declaration file with importHelpers
|
2016-12-08 13:43:32 -08:00 |
|