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
This is follow-up PR for microsoft#2808. It changed to using archive.md but now it's already inaccessible. This is because this archive site historically changed its hostname many times due to the crawls ignoring robots.txt. (ref. https://en.wikipedia.org/wiki/Archive.today)
Copy file name to clipboardExpand all lines: packages/documentation/copy/en/release-notes/TypeScript 2.6.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ The [`strictFunctionTypes`](/tsconfig#strictFunctionTypes) switch is part of the
12
12
You can opt-out by setting `--strictFunctionTypes false` on your command line or in your tsconfig.json.
13
13
14
14
Under [`strictFunctionTypes`](/tsconfig#strictFunctionTypes) function type parameter positions are checked _contravariantly_ instead of _bivariantly_.
15
-
For some background on what variance means for function types check out [What are covariance and contravariance?](https://archive.md/B1xWu).
15
+
For some background on what variance means for function types check out [What are covariance and contravariance?](http://web.archive.org/web/20220823104433/https://www.stephanboyer.com/post/132/what-are-covariance-and-contravariance).
16
16
17
17
The stricter checking applies to all function types, _except_ those originating in method or constructor declarations.
18
18
Methods are excluded specifically to ensure generic classes and interfaces (such as `Array<T>`) continue to mostly relate covariantly.
0 commit comments