From e28cbecfbb58308c3b03d17a6c6bb1530d30ff6d Mon Sep 17 00:00:00 2001 From: Andrew Bradley Date: Fri, 3 Jun 2022 14:04:06 -0400 Subject: [PATCH] fix missing tag declaration in api-extractor config; update api-extractor report --- api-extractor/ts-node.api.md | 9 +++++++-- tsdoc.json | 5 +++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/api-extractor/ts-node.api.md b/api-extractor/ts-node.api.md index b5b8af2fe..9e16ce1d0 100644 --- a/api-extractor/ts-node.api.md +++ b/api-extractor/ts-node.api.md @@ -294,7 +294,7 @@ export interface TSCommon { // (undocumented) resolveModuleNameFromCache: typeof _ts.resolveModuleNameFromCache; // (undocumented) - resolveTypeReferenceDirective(typeReferenceDirectiveName: string, containingFile: string | undefined, options: _ts.CompilerOptions, host: _ts.ModuleResolutionHost, redirectedReference?: _ts.ResolvedProjectReference, cache?: _ts.TypeReferenceDirectiveResolutionCache, resolutionMode?: _ts.SourceFile['impliedNodeFormat']): _ts.ResolvedTypeReferenceDirectiveWithFailedLookupLocations; + resolveTypeReferenceDirective: typeof _ts.resolveTypeReferenceDirective; // (undocumented) ScriptSnapshot: typeof _ts.ScriptSnapshot; // (undocumented) @@ -315,8 +315,13 @@ export namespace TSCommon { export type FileReference = _ts.FileReference; // (undocumented) export interface LanguageServiceHost extends _ts.LanguageServiceHost { + } + // (undocumented) + export namespace ModuleKind { + // (undocumented) + export type CommonJS = _ts.ModuleKind.CommonJS; // (undocumented) - resolveTypeReferenceDirectives?(typeDirectiveNames: string[] | _ts.FileReference[], containingFile: string, redirectedReference: _ts.ResolvedProjectReference | undefined, options: _ts.CompilerOptions, containingFileMode?: _ts.SourceFile['impliedNodeFormat'] | undefined): (_ts.ResolvedTypeReferenceDirective | undefined)[]; + export type ESNext = _ts.ModuleKind.ESNext; } // (undocumented) export type ModuleKindEnum = typeof _ts.ModuleKind & { diff --git a/tsdoc.json b/tsdoc.json index 0316a4fcc..501e2ea59 100644 --- a/tsdoc.json +++ b/tsdoc.json @@ -21,6 +21,11 @@ "tagName": "@allOf", "syntaxKind": "block", "allowMultiple": false + }, + { + "tagName": "@category", + "syntaxKind": "inline", + "allowMultiple": false } ] }