Skip to content

Commit 64097a3

Browse files
Missed a use when fixing Debug.assert
1 parent d45fb77 commit 64097a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/harness/typeWriter.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class TypeWriterWalker {
9292

9393
private getTypeOfNode(node: ts.Node): ts.Type {
9494
var type = this.checker.getTypeOfNode(node);
95-
ts.Debug.assert(type, "type doesn't exist");
95+
ts.Debug.assert(type !== undefined, "type doesn't exist");
9696
return type;
9797
}
9898
}

0 commit comments

Comments
 (0)