The type SearchCallback is not being exported. Therefor it can not be included if one want's to type the search function. As ESLints @typescript-eslint/no-unsafe-call triggers if we can not type the parameter correctly, it would be nice to simply export this type.
The type
SearchCallback
is not being exported. Therefor it can not be included if one want's to type thesearch
function. As ESLints@typescript-eslint/no-unsafe-call
triggers if we can not type the parameter correctly, it would be nice to simply export this type.Relevant code seems to be: https://github.com/yuku/textcomplete/blob/0e9381308496310fe826f5d14d96d3befddfaba1/packages/textcomplete-core/src/Strategy.ts#L3