ci: deploy on vercel again

This commit is contained in:
iCrawl
2023-11-08 13:27:04 +01:00
parent 2bda883a0f
commit 4575e49ea1
13 changed files with 33 additions and 80 deletions

View File

@@ -149,13 +149,13 @@ export class ApiClass extends ApiItemContainerMixin(
if (this.extendsType) {
jsonObject.extendsTokenRange = {
...this.extendsType.excerpt.tokenRange,
typeParameters: this.extendsType.typeParameters,
typeParameters: this.extendsType.typeParameters ?? [],
};
}
jsonObject.implementsTokenRanges = this.implementsTypes.map((x) => ({
...x.excerpt.tokenRange,
typeParameters: x.typeParameters,
typeParameters: x.typeParameters ?? [],
}));
}

View File

@@ -129,7 +129,7 @@ export class ApiInterface extends ApiItemContainerMixin(
jsonObject.extendsTokenRanges = this.extendsTypes.map((x) => ({
...x.excerpt.tokenRange,
typeParameters: x.typeParameters,
typeParameters: x.typeParameters ?? [],
}));
}

View File

@@ -38,7 +38,7 @@ export class HeritageType {
*/
public readonly excerpt: Excerpt;
public readonly typeParameters: string[];
public readonly typeParameters?: string[];
public constructor(excerpt: Excerpt, typeParameters: string[]) {
this.excerpt = excerpt;