Skip to content

Commit

Permalink
fix: .ts import (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
boredland authored Nov 19, 2024
1 parent 320b349 commit 34cf196
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/foundry/storage-diff.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
import type {
StorageItemForComparison,
ComparedStorageItem,
Storage,
} from './types.ts';
} from './types';

/**
* Generates a markdown table comparing two foundry storage layout snapshots
Expand Down Expand Up @@ -139,12 +139,12 @@ function generateMarkdownOutput(items: ComparedStorageItem[]): string {
)} | ${item.offset
.toString()
.padEnd(columnWidths.offset, ' ')} | ${item.slot.padEnd(
columnWidths.slot,
' ',
)} | ${item.type.padEnd(
columnWidths.type,
' ',
)} | ${item.numberOfBytes.padEnd(columnWidths.numberOfBytes, ' ')} |\n`;
columnWidths.slot,
' ',
)} | ${item.type.padEnd(
columnWidths.type,
' ',
)} | ${item.numberOfBytes.padEnd(columnWidths.numberOfBytes, ' ')} |\n`;

markdownTable += row;
});
Expand Down

0 comments on commit 34cf196

Please sign in to comment.