From af3b7f2613a8266904b5d6eaaca998920742a047 Mon Sep 17 00:00:00 2001 From: Dolan Date: Sat, 17 Dec 2022 19:39:27 +0000 Subject: [PATCH] Remove unused method --- src/file/relationships/relationships.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/file/relationships/relationships.ts b/src/file/relationships/relationships.ts index fab99968dc..b7b0f89ca6 100644 --- a/src/file/relationships/relationships.ts +++ b/src/file/relationships/relationships.ts @@ -12,13 +12,9 @@ export class Relationships extends XmlComponent { ); } - public addRelationship(relationship: Relationship): void { - this.root.push(relationship); - } - public createRelationship(id: number | string, type: RelationshipType, target: string, targetMode?: TargetModeType): Relationship { const relationship = new Relationship(`rId${id}`, type, target, targetMode); - this.addRelationship(relationship); + this.root.push(relationship); return relationship; }