Skip to content

Commit f25f603

Browse files
committed
pep695: add typescript information
1 parent f2679e9 commit f25f603

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pep-0695.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,8 @@ combined with other type operators such as "keyof".
961961
TypeScript uses declaration-site variance. Variance is inferred from
962962
usage, not specified explicitly. TypeScript 4.7 introduced the ability
963963
to specify variance using "in" and "out" keywords. This was added to handle
964-
extremely complex types where inference of variance was expensive.
964+
extremely complex types where inference of variance was expensive,
965+
yet the maintainers state that is useful for increasing readability.
965966

966967
A default type argument can be specified using the "=" operator.
967968

0 commit comments

Comments
 (0)