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

Typescript return types missing in 0.6.32 #172

Closed sceee closed 3 years ago

sceee commented 4 years ago

When using v0.6.32 in Typescript, the typescript compiler complains about several missing return-type annotations in the type definitions with error messages similar to 'registerLanguage', which lacks return-type annotation, implicitly has an 'any' return type.ts(7010):

image image

haysclark commented 3 years ago

@sceee @ts-thomas I believe this issue wasn't auto-closed by the PR, but it should be closed now.

Resolved by #173