3 ms·
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-6.html https://www.typescriptlang.org/docs/handbook/release-notes/t... > TypeScript 2.6
by ItsMe000001 9y ago
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-6.html https://www.typescriptlang.org/docs/handbook/release-notes/t...
> TypeScript 2.6 introduces a new strict checking flag, --strictFunctionTypes.
> The --strictFunctionTypes switch is part of the --strict family of switches, meaning that it defaults to on in --strict mode.
> Under --strictFunctionTypes function type parameter positions are checked contravariantly instead of bivariantly.
> ...(etc.)
- naasking 9y agoContravariance then, right. Thanks! I haven't gotten into Typescript yet, and at this point it looks fairly large and a little daunting, so this is helpful.
- tomerbd 9y agoAnd this project is super interesting: https://1c.wizawu.com/#/whatis https://1c.wizawu.com/#/whatis Use TypeScript on JVM with both NPM and Maven dependencies