You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+30-22Lines changed: 30 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
2
2
# TypeScript
3
3
4
-
[](https://gitter.im/Microsoft/TypeScript?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[](https://gitter.im/microsoft/TypeScript?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
* Read the language specification ([docx](https://github.com/Microsoft/TypeScript/blob/master/doc/TypeScript%20Language%20Specification.docx?raw=true),
* Read the language specification ([docx](https://github.com/microsoft/TypeScript/blob/master/doc/TypeScript%20Language%20Specification.docx?raw=true),
["git",["checkout",process.env.TARGET_BRANCH]],// checkout the target branch
54
55
["git",["checkout","-b",branchName]],// create a new branch
55
-
["git",["cherry-pick",squashSha.trim()]],//
56
+
["git",["cherry-pick",squashSha.trim()]],
57
+
]);
58
+
if(produceLKG){
59
+
runSequence([
60
+
["gulp",["LKG"]],
61
+
["git",["add","lib"]],
62
+
["git",["commit","-m",`"Update LKG"`]]
63
+
]);
64
+
}
65
+
runSequence([
56
66
["git",["remote","add","fork",remoteUrl]],// Add the remote fork
57
67
["git",["push","--set-upstream","fork",branchName,"-f"]]// push the branch
58
68
]);
@@ -71,7 +81,7 @@ ${logText.trim()}`;
71
81
base: process.env.TARGET_BRANCH,
72
82
body:
73
83
`This cherry-pick was triggerd by a request on https://github.com/Microsoft/TypeScript/pull/${process.env.SOURCE_ISSUE}
74
-
Please review the diff and merge if no changes are unexpected.
84
+
Please review the diff and merge if no changes are unexpected.${produceLKG ? ` An LKG update commit is included seperately from the base change.` : ""}
75
85
You can view the cherry-pick log [here](https://typescript.visualstudio.com/TypeScript/_build/index?buildId=${process.env.BUILD_BUILDID}&_a=summary).
Copy file name to clipboardExpand all lines: src/compiler/types.ts
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4524,8 +4524,10 @@ namespace ts {
4524
4524
LiteralKeyof=1<<5,// Inference made from a string literal to a keyof T
4525
4525
NoConstraints=1<<6,// Don't infer from constraints of instantiable types
4526
4526
AlwaysStrict=1<<7,// Always use strict rules for contravariant inferences
4527
+
MaxValue=1<<8,// Seed for inference priority tracking
4527
4528
4528
4529
PriorityImpliesCombination=ReturnType|MappedTypeConstraint|LiteralKeyof,// These priorities imply that the resulting type should be a combination of all candidates
4530
+
Circularity=-1,// Inference circularity (value less than all other priorities)
0 commit comments