diff --git a/src/mol-model/structure/query/context.ts b/src/mol-model/structure/query/context.ts index 7404cb05fbb233b31ff1f061375a8f3a1a65822f..7bc0e6d68093ee0205c84bcf7189233b77ac6246 100644 --- a/src/mol-model/structure/query/context.ts +++ b/src/mol-model/structure/query/context.ts @@ -30,7 +30,7 @@ export class QueryContext implements QueryContextView { currentStructure: Structure = void 0 as any; /** Current link between atoms */ - readonly atomicLink: Link.Location<Unit.Atomic> = void 0 as any; + readonly atomicLink: Link.Location<Unit.Atomic> = Link.Location() as Link.Location<Unit.Atomic>; setElement(unit: Unit, e: ElementIndex) { this.element.unit = unit;