graph - Ignore type errors

This commit is contained in:
2026-04-14 16:57:17 +05:30
parent 164747c255
commit e9417984a9
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -9,7 +9,7 @@ const SPEC_DIR = "./spec-built/multipage";
// Directory containing the JavaScript engine implementation source code
const CODE_DIR = "./engine262/src";
import { GRAPH_FILE } from "../constants";
import { GRAPH_FILE } from "../constants.js";
/**
* Builds a knowledge graph mapping ECMAScript specification sections
@@ -21,6 +21,7 @@ import { GRAPH_FILE } from "../constants";
*/
async function buildGraph() {
// Initialize a multi-graph (allows multiple edges between same nodes)
// @ts-ignore - graphology constructor type issue
const graph = new Graph({
multi: true,
type: "directed",