nextapps-de / flexsearch

Next-Generation full text search library for Browser and Node.js
Apache License 2.0
12.53k stars 491 forks source link

Request: add types definition(.d.ts) to npm package #263

Closed blackhuman closed 3 years ago

blackhuman commented 3 years ago

There is a index.d.ts file in the project root of flexsearch codebase, but it was not included in the npm published package, nor in the package.json types field. Could it be included in npm package at the next release? I also found that the index.d.ts seems outdated, which was not match the real js code. Thanks very much for your all efforts to build this lib.

Losses commented 3 years ago

266 would help

Losses commented 3 years ago

Use this: https://www.npmjs.com/package/@types/flexsearch