Skip to content

Commit 778d058

Browse files
committed
PEP 695: add typescript information
1 parent add408c commit 778d058

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pep-0695.rst

Lines changed: 2 additions & 1 deletion
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)