mirror of
https://github.com/m-lamonaca/dev-notes.git
synced 2025-06-08 18:57:12 +00:00
convert images to avif
This commit is contained in:
parent
8026e1465b
commit
b74f634cd2
53 changed files with 17 additions and 17 deletions
|
@ -2148,7 +2148,7 @@ Generic type parameters support covariance and contravariance to provide greater
|
|||
- **Contravariance**: Enables to use a more generic (less derived) type than originally specified.
|
||||
- **Invariance**: it's possible to use _only_ the type originally specified; so an invariant generic type parameter is neither covariant nor contravariant.
|
||||
|
||||

|
||||

|
||||
|
||||
> **Note**: annotate generic type parameters with `out` and `in` annotations to specify whether they should behave covariantly or contravariantly.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue