JavaScript: Why doesn't TypeScript properly type Object.keys?

This commit is contained in:
Cat /dev/Nulo 2023-06-24 10:48:28 -03:00
parent 82034cbeaf
commit 3d3b7be8b1

View file

@ -1,2 +1,6 @@
- [Just.js](https://github.com/just-js/just)
- [TypeScript JSDoc](https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html)
## TypeScript
- [Why doesn't TypeScript properly type Object.keys?](https://alexharri.com/blog/typescript-structural-typing) te enseña sobre algo básico de TypeScript (structural typing) y como usarlo para escribir código más limpio.