From c56a6616cad9d58eea83d2405157019d434f556d Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Wed, 6 May 2020 10:52:04 +0200 Subject: [PATCH] allow other return types --- lib/Graphable.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Graphable.ts b/lib/Graphable.ts index 4450029..fc4f3b5 100644 --- a/lib/Graphable.ts +++ b/lib/Graphable.ts @@ -1,5 +1,5 @@ import { Graph } from './Graph'; export interface Graphable { - to_graph(g: Graph, ...args: unknown[]): void; + to_graph(g: Graph, ...args: unknown[]): unknown; }