react-gh-like-diff icon indicating copy to clipboard operation
react-gh-like-diff copied to clipboard

Typescript support

Open tlrdstd opened this issue 5 years ago • 1 comments

Please generate Typescript types, per https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html

I'm currently including your component in my project via const { ReactGhLikeDiff } = require("react-gh-like-diff"), but would much rather leverage Typescript to get full type-checking/parameter support.

Thanks!

tlrdstd avatar Jun 10 '20 12:06 tlrdstd

Me too!

Add @types.

Thanks.

pacocom avatar Oct 01 '20 16:10 pacocom