Skip to content

Commit ab61ea5

Browse files
committed
Suggested export change
1 parent 0c73b71 commit ab61ea5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

dist/dagre.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Graph as ImportedGraph, Node as GraphNode, Edge as GraphEdge } from '@d
33
// --- Graphlib Exports (Public API of dagre.graphlib) ---
44

55
export namespace graphlib {
6-
export import Graph = ImportedGraph;
6+
export { ImportedGraph as Graph };
77

88
export namespace json {
99
function read(graph: any): Graph;

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Graph as ImportedGraph, Node as GraphNode, Edge as GraphEdge } from '@d
33
// --- Graphlib Exports (Public API of dagre.graphlib) ---
44

55
export namespace graphlib {
6-
export import Graph = ImportedGraph;
6+
export { ImportedGraph as Graph };
77

88
export namespace json {
99
function read(graph: any): Graph;

0 commit comments

Comments
 (0)