Add `overload` to known JSDoc tag names.
This commit is contained in:
Родитель
73eba455a0
Коммит
c7d3e9d4ac
|
@ -145,6 +145,7 @@ const jsDocTagNames = [
|
|||
"module",
|
||||
"name",
|
||||
"namespace",
|
||||
"overload",
|
||||
"override",
|
||||
"package",
|
||||
"param",
|
||||
|
@ -347,7 +348,7 @@ function getTagNameDisplayPart(kind: SyntaxKind): (text: string) => SymbolDispla
|
|||
|
||||
/** @internal */
|
||||
export function getJSDocTagNameCompletions(): CompletionEntry[] {
|
||||
return jsDocTagNameCompletionEntries || (jsDocTagNameCompletionEntries = map(jsDocTagNames, tagName => {
|
||||
return (jsDocTagNameCompletionEntries ||= map(jsDocTagNames, tagName => {
|
||||
return {
|
||||
name: tagName,
|
||||
kind: ScriptElementKind.keyword,
|
||||
|
@ -362,7 +363,7 @@ export const getJSDocTagNameCompletionDetails = getJSDocTagCompletionDetails;
|
|||
|
||||
/** @internal */
|
||||
export function getJSDocTagCompletions(): CompletionEntry[] {
|
||||
return jsDocTagCompletionEntries || (jsDocTagCompletionEntries = map(jsDocTagNames, tagName => {
|
||||
return (jsDocTagCompletionEntries ||= map(jsDocTagNames, tagName => {
|
||||
return {
|
||||
name: `@${tagName}`,
|
||||
kind: ScriptElementKind.keyword,
|
||||
|
|
Загрузка…
Ссылка в новой задаче