[READ-ONLY] a fast, modern browser for the npm registry
at main 24 lines 537 B view raw
1/** 2 * Internal Types for Docs Module 3 * These are highly coupled to `deno doc`, hence they live here instead of shared types. 4 * 5 * @module server/utils/docs/types 6 */ 7 8import type { DenoDocNode } from '#shared/types/deno-doc' 9 10/** 11 * Map of symbol names to anchor IDs for cross-referencing. 12 * @internal Exported for testing 13 */ 14export type SymbolLookup = Map<string, string> 15 16/** 17 * Symbol with merged overloads 18 */ 19export interface MergedSymbol { 20 name: string 21 kind: string 22 nodes: DenoDocNode[] 23 jsDoc?: DenoDocNode['jsDoc'] 24}