(obj: Object, properties: Array<string>)
| 586 | } |
| 587 | |
| 588 | private resolveOptions(obj: Object, properties: Array<string>): { instance: WeakRef<Object>; property: any } { |
| 589 | const objectsAndProperties = this.resolveObjectsAndProperties(obj, properties); |
| 590 | if (objectsAndProperties.length > 0) { |
| 591 | const resolvedObj = objectsAndProperties[objectsAndProperties.length - 1].instance; |
| 592 | const prop = objectsAndProperties[objectsAndProperties.length - 1].property; |
| 593 | |
| 594 | return { |
| 595 | instance: new WeakRef(this.sourceAsObject(resolvedObj)), |
| 596 | property: prop, |
| 597 | }; |
| 598 | } |
| 599 | |
| 600 | return null; |
| 601 | } |
| 602 | |
| 603 | private updateOptions(options: { instance: WeakRef<any>; property: string }, value: any) { |
| 604 | let optionsInstance; |
no test coverage detected