Skip to content

Commit 963e9c9

Browse files
committed
Add a test for #2921
1 parent 79a3310 commit 963e9c9

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

src/test/converter2/renderer/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ export type UnionComments =
104104

105105
/**
106106
* Signature comment
107+
* #2921 {@link !Promise}
107108
* @param item Item comment
108109
*/
109110
export function box<T>(item: T) {

src/test/converter2/typedoc.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,11 @@
1010
"name": "json",
1111
"path": "../../../docs/docs.json"
1212
}
13-
]
13+
],
14+
"externalSymbolLinkMappings": {
15+
// used by {@link !Promise}
16+
"global": {
17+
"Promise": "#"
18+
}
19+
}
1420
}

src/test/renderer/specs/functions/box.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
{
106106
"div.tsd-description": [
107107
{
108-
"div.tsd-comment.tsd-typography": "<p>Signature comment</p>\n"
108+
"div.tsd-comment.tsd-typography": "<p>Signature comment\n#2921 !Promise</p>\n"
109109
},
110110
{
111111
"section.tsd-panel": [
@@ -197,7 +197,7 @@
197197
"props": {
198198
"href": "index.ts"
199199
},
200-
"children": "index.ts:109"
200+
"children": "index.ts:110"
201201
}
202202
]
203203
}

0 commit comments

Comments
 (0)