( name: string, kind: DisplayInfoKind, textSpan: ts.TextSpan, containerName?: string, type?: string, documentation?: ts.SymbolDisplayPart[], tags?: ts.JSDocTagInfo[], )
| 487 | * @param documentation docstring or comment |
| 488 | */ |
| 489 | export function createQuickInfo( |
| 490 | name: string, |
| 491 | kind: DisplayInfoKind, |
| 492 | textSpan: ts.TextSpan, |
| 493 | containerName?: string, |
| 494 | type?: string, |
| 495 | documentation?: ts.SymbolDisplayPart[], |
| 496 | tags?: ts.JSDocTagInfo[], |
| 497 | ): ts.QuickInfo { |
| 498 | const displayParts = createDisplayParts(name, kind, containerName, type); |
| 499 | |
| 500 | return { |
| 501 | kind: unsafeCastDisplayInfoKindToScriptElementKind(kind), |
| 502 | kindModifiers: ts.ScriptElementKindModifier.none, |
| 503 | textSpan: textSpan, |
| 504 | displayParts, |
| 505 | documentation, |
| 506 | tags, |
| 507 | }; |
| 508 | } |
no test coverage detected