allow other return types

This commit is contained in:
Timo Hocker 2020-05-06 10:52:04 +02:00
parent 695867265d
commit c56a6616ca

View File

@ -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;
}