From 0368e534bfe83871f0f340d73f10c75b4de16d7e Mon Sep 17 00:00:00 2001 From: Ebuall Date: Tue, 18 Sep 2018 00:10:09 +0300 Subject: [PATCH] mention strictFunctionTypes --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 19e17f1..7a0973e 100644 --- a/README.md +++ b/README.md @@ -782,6 +782,7 @@ function getLength(o: {+p: ?string}): number { [TypeScript proposal](https://github.com/Microsoft/TypeScript/issues/10717) Bivariance is among [the design decisions](https://github.com/Microsoft/TypeScript/wiki/FAQ#why-are-function-parameters-bivariant) driving TypeScript. +Can be turned off for standalone functions with flag `--strictFunctionTypes` since [Typescript 2.6](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-6.html). ## Useful References