Skip to content

Commit 930f429

Browse files
authored
docs: fix broken link in TypeScript 2.6.md
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)
1 parent 225f87c commit 930f429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/documentation/copy/en/release-notes/TypeScript 2.6.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The [`strictFunctionTypes`](/tsconfig#strictFunctionTypes) switch is part of the
1212
You can opt-out by setting `--strictFunctionTypes false` on your command line or in your tsconfig.json.
1313

1414
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).
1616

1717
The stricter checking applies to all function types, _except_ those originating in method or constructor declarations.
1818
Methods are excluded specifically to ensure generic classes and interfaces (such as `Array<T>`) continue to mostly relate covariantly.

0 commit comments

Comments
 (0)