Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
getSelf(context: unknown): UpdatableReference | ConstReference {
if (!this.self) {
this.self = new UpdatableReference(context);
}
return this.self;
}
getSelf(component: EmberishCurlyComponent): PathReference {
let ref = new UpdatableReference(component);
SELF_REF.set(component, ref);
return ref;
}