The resting state of the palette: the shape of a real answer, with nothing in it.
(raw: string)
| 227 | |
| 228 | /** The resting state of the palette: the shape of a real answer, with nothing in it. */ |
| 229 | function emptySearch(raw: string): unknown { |
| 230 | return { |
| 231 | query: raw, |
| 232 | text: '', |
| 233 | filters: { kinds: [], languages: [], paths: [], names: [] }, |
| 234 | results: wireList<WireSearchResult>([], 0), |
| 235 | groups: [], |
| 236 | }; |
| 237 | } |
no test coverage detected