allow other return types
This commit is contained in:
parent
695867265d
commit
c56a6616ca
@ -1,5 +1,5 @@
|
|||||||
import { Graph } from './Graph';
|
import { Graph } from './Graph';
|
||||||
|
|
||||||
export interface Graphable {
|
export interface Graphable {
|
||||||
to_graph(g: Graph, ...args: unknown[]): void;
|
to_graph(g: Graph, ...args: unknown[]): unknown;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user