Repair type error for dataflow assertions

This commit is contained in:
Tony Garnock-Jones 2021-12-09 22:12:02 +01:00
parent dd4af85296
commit 1c1decdb7d
1 changed files with 4 additions and 1 deletions

View File

@ -371,7 +371,10 @@ export class Turn {
f.actor.dataflowGraph.withSubject(b, b);
}
assertDataflow(assertionFunction: () => {target: Ref, assertion: Assertion}) {
assertDataflow(assertionFunction: () => {
target: Ref | undefined,
assertion: Assertion | undefined
}) {
let handle: Handle | undefined = void 0;
let target: Ref | undefined = void 0;
let assertion: Assertion | undefined = void 0;