bevacqua / fuzzysearch

:crystal_ball: Tiny and blazing-fast fuzzy search in JavaScript
https://ponyfoo.com
MIT License
2.71k stars 87 forks source link

create 'index.d.ts' for typescript support #22

Open hamidjafari opened 4 years ago

hamidjafari commented 4 years ago

type file added for typescript support

remcohaszing commented 1 year ago

These type definitions are incorrect. The correct way to type module.exports = in JavaScript is using export = in TypeScript. A PR to add correct type definitions is available in #19. Type definitions are also available via @types/fuzzysearch. I suggest closing this PR.