mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 10:03:31 +01:00
feat(api-extractor): support multiple entrypoints (#10829)
* feat(api-extractor): support multiple entrypoints * chore: initial support in generateSplitDocumentation * chore: bring in line with upstream * refactor: multiple entrypoints in scripts * fix: split docs * feat: website * fix: docs failing on next * fix: don't include dtypes for now * refactor: don't fetch entrypoint if there is none --------- Co-authored-by: iCrawl <buechler.noel@outlook.com>
This commit is contained in:
@@ -8,7 +8,7 @@ import * as ts from 'typescript';
|
||||
import type { MessageRouter } from '../collector/MessageRouter';
|
||||
import { AstDeclaration } from './AstDeclaration.js';
|
||||
import type { AstEntity } from './AstEntity.js';
|
||||
import type { AstModule, AstModuleExportInfo } from './AstModule.js';
|
||||
import type { AstModule, IAstModuleExportInfo } from './AstModule.js';
|
||||
import { AstNamespaceImport } from './AstNamespaceImport.js';
|
||||
import { AstSymbol } from './AstSymbol.js';
|
||||
import { ExportAnalyzer } from './ExportAnalyzer.js';
|
||||
@@ -126,7 +126,7 @@ export class AstSymbolTable {
|
||||
/**
|
||||
* This crawls the specified entry point and collects the full set of exported AstSymbols.
|
||||
*/
|
||||
public fetchAstModuleExportInfo(astModule: AstModule): AstModuleExportInfo {
|
||||
public fetchAstModuleExportInfo(astModule: AstModule): IAstModuleExportInfo {
|
||||
return this._exportAnalyzer.fetchAstModuleExportInfo(astModule);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user