Gabriela Araujo Britto
b6c8382c78
replace argument list instead of whole call when refactoring
2019-02-15 15:51:20 -08:00
Gabriela Araujo Britto
eef3da5b6b
create new ConfigurableStart and ConfigurableEnd options and rename them
2019-02-15 15:38:10 -08:00
Gabriela Araujo Britto
b93afffaf7
rename refactor tests
2019-02-15 15:36:11 -08:00
Sheetal Nandi
b2b360a64f
Merge pull request #29816 from Microsoft/ti
...
Use execFileSync in typing installer
2019-02-15 10:47:04 -08: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
Nathan Shively-Sanders
ed8c81a563
Update lodash dependency ( #29903 )
...
For security reasons
2019-02-14 14:56:22 -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
Sheetal Nandi
b958f1c8b5
Merge branch 'master' into incrementalBuildInfo
2019-02-14 12:19:10 -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
Wesley Wigham
5ec35c1ee8
Readd configure-insiders task to Gulpfile ( #29907 )
...
It's identical to configure-nightly but with the flag changed from dev to insiders. We use it to manually publish an insiders build via pipeline, and went missing when we copied functionality from the jakefile.
2019-02-13 17:27:28 -08:00
Ron Buckton
5576c3ead8
Remove ES2015 and ContainsDefaultValueassignments flags
2019-02-13 16:07:52 -08:00
Gabriela Araujo Britto
05e9d6c9de
fix reference checking
2019-02-13 15:34:18 -08:00
Nathan Shively-Sanders
ad7702f15a
Disable node 6 ( #29832 )
...
* Disable node 6
It exits LTS in a couple of months, and doesn't support async/await,
meaning that it blocks us from switching Travis to use gulp instead of
jake.
* Swap in node 8 for node 6
2019-02-13 12:57:35 -08:00
Gabriela Araujo Britto
ec0e734708
return function expression name in getFunctionDeclarationNames
2019-02-13 11:36:59 -08:00
Gabriela Araujo Britto
ef4db31e84
don't apply changes when unexpected reference is found
2019-02-13 11:35:44 -08:00
Titian Cernicova-Dragomir
e185574096
Accept new baseline for Improve error message for using value as type.
2019-02-13 17:39:06 +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
Gabriela Araujo Britto
dbd84996aa
don't apply refactor when parameter has decorators
2019-02-11 14:24:05 -08:00
Sheetal Nandi
499bc70056
Make printer option to be writing bunfle file info and use the result instead
2019-02-11 13:47:24 -08:00
Sheetal Nandi
217a34256c
Move bundleFileInfo as printer options
2019-02-11 13:13:19 -08:00
Gabriela Araujo Britto
4e135f13b5
add tests for comments
2019-02-11 12:03:09 -08:00
Gabriela Araujo Britto
dba631de80
copy comments when refactoring
2019-02-11 12:02:51 -08:00
Gabriela Araujo Britto
26f8ddd46a
create functions for copying trailing comments and rename previous copyComment function
2019-02-11 12:01:02 -08:00
Ryan Cavanaugh
75101d4b72
Merge pull request #29860 from RyanCavanaugh/noEval
...
Enable no-eval rule
2019-02-11 11:47:05 -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
Ryan Cavanaugh
02a5ef6a17
Add setInterval/setTimeout
2019-02-11 11:26:19 -08:00
Ryan Cavanaugh
1f10e74abc
Enable no-eval rule
2019-02-11 11:18:29 -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
f33c740b8c
Accept new baselines
2019-02-11 09:46:10 -08:00
Anders Hejlsberg
710826e37e
Add regression test
2019-02-11 09:46:02 -08:00
Anders Hejlsberg
36be6c8b68
Accept new baselines
2019-02-11 09:41:38 -08:00
Nathan Shively-Sanders
17d16d1bbb
Disable checkJS survey ( #29830 )
...
* Disable checkJS survey
* Completely remove survey infrastructure
* Re-instate the protocol part of SurveyReady
2019-02-11 08:36:35 -08:00
Ryan Cavanaugh
2dfb6202ed
Merge pull request #27697 from mattmccutchen/issue-27118
...
Make the assignability rule for conditional types require the check types and distributivity to be identical.
2019-02-10 19:51:02 -08:00
Anders Hejlsberg
1c9fe44726
Accept new baselines
2019-02-10 15:29:22 -08:00
Anders Hejlsberg
35cf397ae3
Add regression tests
2019-02-10 15:29:14 -08:00
Anders Hejlsberg
62e270c04d
Accept new baselines
2019-02-10 15:18:51 -08:00
Anders Hejlsberg
15610faa9d
Update test
2019-02-10 15:18:45 -08:00
Anders Hejlsberg
3ffb15fd70
Accept new baselines
2019-02-10 15:16:32 -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