Anders Hejlsberg
059fd2d42e
Never overwrite resolved type of symbol
2019-02-18 07:25:08 -10:00
Ryan Cavanaugh
d517713f50
Merge pull request #29935 from RyanCavanaugh/md5_2_sha
...
Use sha256 to hash file contents
2019-02-15 10:28:23 -08:00
Anders Hejlsberg
691df0e4b5
Merge pull request #29923 from Microsoft/freeTypeFlags
...
Free up some type flags
2019-02-15 09:10:21 -08:00
Ryan Cavanaugh
7983813be0
Use sha256 to hash file contents
2019-02-15 09:03:15 -08:00
Anders Hejlsberg
8f52f21f0d
Fix broken check in getUnionType (check was always true)
2019-02-15 06:22:17 -08:00
Anders Hejlsberg
3e745e65cd
Simplify flags propagation logic
2019-02-14 15:22:19 -08:00
Anders Hejlsberg
b57956673e
Move TypeFlags.PropapatingFlags to ObjectFlags to free up 3 flags
2019-02-14 14:42:55 -08:00
Ryan Cavanaugh
cc987a1921
Merge pull request #29896 from dragomirtitian/GH-29778
...
Improve error message for using value as type
2019-02-14 13:14:20 -08:00
Wesley Wigham
84076a5535
Add diagnostic context for expando property declarations ( #29905 )
2019-02-13 22:54:33 -08:00
Titian Cernicova-Dragomir
c358b0b4a5
Fixed tslint error.
2019-02-14 07:23:11 +02:00
Titian Cernicova-Dragomir
950861ec7f
Improve error message for using value as type.
2019-02-13 17:25:23 +02:00
Wesley Wigham
6d2b738bd8
Use built local on CI and not LKG ( #29886 )
...
* Use built local on CI and not LKG
* Adjust function to remove need for assertions
* Accept baseline diff to go back to local based baseline
* Remove comment
2019-02-12 17:55:19 -08:00
Anders Hejlsberg
f93f4f3c62
Merge pull request #29847 from Microsoft/inferToUnionTypes
...
Improve inference to union and intersection types
2019-02-11 11:34:05 -08:00
Anders Hejlsberg
d66000bc47
Merge pull request #29787 from Microsoft/inferToPartiallyHomomorphic
...
Infer to partially homomorphic types (such as Pick<T, K>)
2019-02-11 11:33:27 -08:00
Anders Hejlsberg
ce6c04e9b5
Merge branch 'master' into inferToUnionTypes
2019-02-11 11:00:41 -08:00
Anders Hejlsberg
32b44ac65a
Merge pull request #29858 from Microsoft/fixContextualRestTuple
...
Fix contextual types computed from rest parameters
2019-02-11 10:59:11 -08:00
Anders Hejlsberg
1f32139811
Make inferences to union types containing multiple naked type variables
2019-02-10 15:07:01 -08:00
Anders Hejlsberg
9a0a838d12
Use getIndexedAccess to compute type for contextual rest parameters
2019-02-10 07:48:22 -08:00
Matt McCutchen
1aca1dd036
Make the assignability rule for conditional types require the check
...
types and distributivity to be identical.
Fixes #27118 .
2019-02-09 17:22:08 -05:00
Anders Hejlsberg
040401205b
Delete wayward comment
2019-02-08 06:53:39 -08:00
Anders Hejlsberg
f46c0a4597
Process more complex constraints as per CR feedback
2019-02-08 06:49:13 -08:00
Kagami Sascha Rosylight
13c72b786e
Merge remote-tracking branch 'upstream/master' into es2019
2019-02-08 06:55:56 +09:00
Ron Buckton
b9ca653cf6
Merge branch 'async-es2018' of https://github.com/saschanaz/TypeScript into saschanaz-async-es2018
2019-02-07 13:27:25 -08:00
Ron Buckton
61d13b740e
Merge pull request #29726 from bmeurer/modifierFlagsCache
...
Make modifierFlagsCache mandatory for Node objects
2019-02-07 12:13:46 -08:00
Benedikt Meurer
d3e23884c4
Fix linter warnings.
2019-02-07 20:39:03 +01:00
Ron Buckton
a94c383b71
Merge pull request #27292 from kpreisser/fix26090
...
Align the ShimMap iterator behavior with native Maps
2019-02-07 11:17:22 -08:00
Kagami Sascha Rosylight
b3c179540a
String.prototype.{trimStart,trimEnd} hit stage 4
2019-02-08 00:51:23 +09:00
Kagami Sascha Rosylight
f525a89e87
Array.prototype.{flat,flatMap} hit stage 4
2019-02-08 00:10:34 +09:00
kpreisser
5043bf72f5
PR feedback.
2019-02-07 09:01:27 +01:00
Kagami Sascha Rosylight
40a4bd0a95
revive esnext.symbol
2019-02-07 10:45:44 +09:00
Kagami Sascha Rosylight
582526929b
restore flags
2019-02-07 10:27:50 +09:00
Kagami Sascha Rosylight
a8823f5169
Merge branch 'master' into es2019
2019-02-07 10:08:26 +09:00
Kagami Sascha Rosylight
5a6dc081f6
revive esnext.asynciterable
2019-02-07 10:01:36 +09:00
Wesley Wigham
8e5dcfbde5
Add try priors as finally lock label andecedents rather than pre finally label antecedents ( #29790 )
2019-02-06 16:59:26 -08:00
Kagami Sascha Rosylight
2c4589d5a9
Merge remote-tracking branch 'upstream/master' into async-es2018
2019-02-07 09:51:26 +09:00
Mine Starks
c03af51186
Merge pull request #29785 from jessetrinity/add-auto-quotepreference
...
Add explicit "auto" quotePreference
2019-02-06 15:43:41 -08:00
Kagami Sascha Rosylight
6249b4c704
Remove ES2018 transforms for ES2018 target ( #26315 )
...
* rename esnext.ts as es2018.ts
* remove ES2018 transforms for ES2018 target
* change target from esnext to es2018
* rename tests
2019-02-06 15:35:52 -08:00
Jesse Trinity
f0a6154e9b
Added auto setting to quotePreference
2019-02-06 14:37:26 -08:00
Anders Hejlsberg
52a9cfb0a9
Infer to partially homomorphic mapped types (such as Pick<T, K>)
2019-02-06 14:23:49 -08:00
Anders Hejlsberg
d9ee86723a
Merge pull request #29740 from Microsoft/fixCircularMappedArrayTuple
...
Fix issues related to circular mapped array and tuple types
2019-02-06 13:24:19 -08:00
Nathan Shively-Sanders
33af4ea250
assertNever no longer crashes on string input ( #29764 )
2019-02-06 08:57:24 -08:00
Daniel Rosenwasser
4505eea92d
Merge pull request #29766 from Microsoft/USE-ALL-THE-ES2015-NAMES-WESLEY-WHAT-IS-SO-HARD-ABOUT-THAT
...
Expand "set your lib" suggestions to other commonly used ES2015 declarations
2019-02-05 18:31:16 -08:00
Daniel Rosenwasser
3382a2ea54
Give good error messages on more types.
2019-02-05 18:01:41 -08:00
Ryan Cavanaugh
eed9db5ec5
Merge pull request #28465 from alangpierce/enforce-const-enum-access-for-isolatedmodules
...
Change isolatedModules to allow const enum declaration and disallow access
2019-02-05 16:36:58 -08:00
Klaus Meinhardt
12edac0925
getEffectiveBaseTypeNode: only use JSDoc augments if there is extends ( #29349 )
2019-02-05 15:51:55 -08:00
Anders Hejlsberg
7c096576bc
Merge pull request #29756 from Microsoft/fixStrictPropertyInitialization
...
Revert change to strict property initialization checks
2019-02-05 15:10:30 -08:00
Anders Hejlsberg
2256d761a2
Revert change to strict property initialization checks
2019-02-05 12:40:25 -08:00
Ryan Cavanaugh
1ec8a71949
Merge pull request #29711 from jack-williams/switch-on-unknown
...
Fix #29710 : Narrow unknown in switch
2019-02-05 09:08:52 -08:00
Anders Hejlsberg
ee10c247b7
Less aggressive logic for detecting circular mapped arrays and tuples
2019-02-04 17:36:09 -08:00
Ron Buckton
55762271af
Merge pull request #29695 from Microsoft/fixDtsTypeReferenceEmit
...
Fix type reference dts emit failure
2019-02-04 13:03:07 -08:00