There was an error while loading. Please reload this page.
1 parent 9846fc3 commit 36774d6Copy full SHA for 36774d6
1 file changed
apps/api-extractor/src/generators/ApiModelGenerator.ts
@@ -775,7 +775,7 @@ export class ApiModelGenerator {
775
private _getOverloadIndex(astDeclaration: AstDeclaration): number {
776
const allDeclarations: ReadonlyArray<AstDeclaration> = astDeclaration.astSymbol.astDeclarations;
777
if (allDeclarations.length === 1) {
778
- return 0; // trivial case
+ return 1; // trivial case
779
}
780
781
let overloadIndex: number | undefined = this._cachedOverloadIndexesByDeclaration.get(astDeclaration);
0 commit comments