rustdoc-search: use correct type annotations

This commit is contained in:
Michael Howell 2024-09-24 12:36:05 -07:00
parent 5c7e7dfe10
commit 5973005d93

View File

@ -9,12 +9,12 @@ function initSearch(searchIndex){}
/**
* @typedef {{
* name: string,
* id: integer|null,
* id: number|null,
* fullPath: Array<string>,
* pathWithoutLast: Array<string>,
* pathLast: string,
* generics: Array<QueryElement>,
* bindings: Map<integer, Array<QueryElement>>,
* bindings: Map<number, Array<QueryElement>>,
* }}
*/
let QueryElement;