You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ERROR] SyntaxError: /app/node_modules/@cmfcmf/docusaurus-search-local/lib/client/theme/SearchBar/generated.d.ts: Missing initializer in const declaration. (2:32)
1 | export function tokenize(input: any): any[];
> 2 | export const mylunr: typeof lunr;
| ^
3 | import * as lunr from "lunr";
4 |the
### How can we best reproduce the bug?
Run `docusaurus write-translations` after installing `@cmfcmf/docusaurus-search-local`
### Which version of Docusaurus and @cmfcmf/docusaurus-search-local are you using?
0.11.0
### Which Node.js version are you using?
18.9.1
### Which theme are you using?
Yes, I am using @docusaurus/theme-classic
### How does your plugin config look like?
Just created a dummy script to replace const to let, if somebody need: find ./node_modules/@cmfcmf/docusaurus-search-local/lib/client/theme/SearchBar/ -type f -name "*.d.ts" -exec sed -i -e 's/const/let/g' {} \;
Please describe the bug you are seeing
[
require.resolve("@cmfcmf/docusaurus-search-local"),
{
language: ["en"],
}
]
Additional context
No response
The text was updated successfully, but these errors were encountered: