UNPKG

ts-object-keys

Version:

Fix for Object.keys, which normally just returns an array of strings, which is not good when you care about strong typing

49 lines (25 loc) 1.44 kB
# <center> Welcome to ts-object-keys 👋 </center> ## _Fix for Object.keys, which normally just returns an array of strings, which is not good when you care about strong typing._ [![alt Version](https://img.shields.io/npm/v/ts-object-keys?color=blue)](https://www.npmjs.com/package/object-keys) [![alt License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](#) [![alt Twitter: twitter.com/WojtasinskiPawe](https://img.shields.io/twitter/follow/WojtasinskiPawe.svg?style=social)](https://twitter.com/WojtasinskiPawe) ![usage-example-1](https://i.imgur.com/wjqE9QC.png) ![usage-example-2](https://i.imgur.com/nCZR4u9.png) ## Documentation #### Usage - [Simple function example](#simple-function-example) ## Install `npm i ts-object-keys` or `yarn add ts-object-keys` #### Simple function example ![simple-function-example](https://i.imgur.com/7NgZbFQ.png) ## Authors 👤 **Paweł Wojtasiński** - Github: [@playerony](https://github.com/playerony) - LinkedIn: [@pwojtasinski](https://www.linkedin.com/in/pwojtasinski) ## [](https://github.com/funtal/object-keys#-contributing)🤝 Contributing Contributions, issues and feature requests are welcome! Feel free to check the [issues page](https://github.com/funtal/object-keys/issues). ## Show your support Give a ⭐️ if this project helped you! [![PixelShiba](https://emoji.gg/assets/emoji/5344-pixelshiba.gif)](https://emoji.gg/emoji/5344-pixelshiba)