quickadd
quickadd copied to clipboard
Fix typing error in suggester
It seems like there was an error in the types of the suggester function. The functions seems to be used to map the elements to a string array, so the lambda should return a string, as it is called on every element in the array.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated (UTC) |
|---|---|---|---|
| quickadd | ✅ Ready (Inspect) | Visit Preview | Nov 13, 2023 8:42pm |
The docs are also wrong, but idk how to update them or if they are auto-generated, so I didn't change them.
https://quickadd.obsidian.guide/docs/QuickAddAPI#suggester-displayitems-string--value-string-index-number-arr-string--string-actualitems-string-promisestring