diff --git a/packages/core/graph/src/AdjacencyList.js b/packages/core/graph/src/AdjacencyList.js index 5db0b5a320a..12843c4338b 100644 --- a/packages/core/graph/src/AdjacencyList.js +++ b/packages/core/graph/src/AdjacencyList.js @@ -246,7 +246,7 @@ export default class AdjacencyList { to: NodeId, type: TEdgeType | NullEdgeType = 1, ): boolean { - assert(type > 0, `Unsupported edge type ${0}`); + assert(type > 0, `Unsupported edge type ${type}`); let hash = this.#edges.hash(from, to, type); let edge = this.#edges.addressOf(hash, from, to, type); @@ -600,7 +600,7 @@ export class SharedTypeMap get bufferSize(): string { return `${(this.data.byteLength / 1024 / 1024).toLocaleString(undefined, { - minmumFractionDigits: 2, + minimumFractionDigits: 2, maximumFractionDigits: 2, })} mb`; }