clauderic / react-tiny-virtual-list

A tiny but mighty 3kb list virtualization library, with zero dependencies 💪 Supports variable heights/widths, sticky items, scrolling to index, and more!
https://clauderic.github.io/react-tiny-virtual-list/
MIT License
2.46k stars 165 forks source link

TypeScript definition files as part of NPM package #26

Closed StevenRasmussen closed 7 years ago

StevenRasmussen commented 7 years ago

First off - great work!!! I'd like to use this library with TypeScript, and seeing how it appears that it was recently migrated to TypeScript would you please include the TypeScript definition file as part of the NPM package?

clauderic commented 7 years ago

Sorry completely missed that somehow, the idea was to have the types as part of the package, yes 😅

I think I just need to update the package.json files entry to include the types folder that gets generated at build time.

I'll take a look and get back to you 😄

clauderic commented 7 years ago

Just released 2.1.3 which should include the type definitions, let me know if it works out for you 👍

StevenRasmussen commented 7 years ago

It's there now. Thanks!