From 2c68d341b4448199ee72e107cd3e95762c5f82ac Mon Sep 17 00:00:00 2001 From: David Sehnal <david.sehnal@gmail.com> Date: Sat, 25 Aug 2018 15:27:39 +0200 Subject: [PATCH] QueryContext tweak --- src/mol-model/structure/query/context.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mol-model/structure/query/context.ts b/src/mol-model/structure/query/context.ts index 7404cb05f..7bc0e6d68 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; -- GitLab