Indent txt format

This commit is contained in:
Paulo Gustavo Veiga 2022-01-02 21:09:35 -08:00
parent 19d7706c1b
commit 6be62fe81b
14 changed files with 683 additions and 683 deletions

View File

@ -52,7 +52,7 @@ class TxtExporter implements Exporter {
result = result + '\n';
if (node.getChildren().length > 0) {
result = result + this.traverseBranch(`${prefix}${index+1}.`, node.getChildren());
result = result + this.traverseBranch(`\t${prefix}${index+1}.`, node.getChildren());
}
});
return result;

View File

@ -57,7 +57,7 @@ class RelationshipModel {
}
/** */
getId() {
getId():number {
$assert(this._id, 'id is null');
return this._id;
}
@ -68,7 +68,7 @@ class RelationshipModel {
}
/** */
setLineType(lineType) {
setLineType(lineType: number) {
this._lineType = lineType;
}
@ -98,7 +98,7 @@ class RelationshipModel {
}
/** */
setEndArrow(endArrow) {
setEndArrow(endArrow: boolean) {
this._endArrow = endArrow;
}
@ -108,7 +108,7 @@ class RelationshipModel {
}
/** */
setStartArrow(startArrow) {
setStartArrow(startArrow: boolean) {
this._startArrow = startArrow;
}

View File

@ -22,7 +22,7 @@ import fs from 'fs';
import { diff } from 'jest-diff';
import { expect } from '@jest/globals';
const saveOutputRecord = false;
const saveOutputRecord = true;
export const setupBlob = () => {
// Workaround for partial implementations on Jest: