Quantcast
Channel: User bdsl - Stack Overflow
Viewing all articles
Browse latest Browse all 38

Comment by bdsl on Why are TypeScript arrays covariant?

$
0
0
PHP has a built in array type that's different to anything else in the language, and they are not generally aliased. Instead a copy-on-write system is used when assigning or passing. I think it avoids the issue that TS has.

Viewing all articles
Browse latest Browse all 38

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>