8 lines
292 B
TypeScript
8 lines
292 B
TypeScript
// Copyright 2016-2020, Pulumi Corporation. All rights reserved.
|
|
|
|
import { Component } from "./component";
|
|
|
|
const componentA = new Component("a", {echo: 42});
|
|
const componentB = new Component("b", {echo: componentA.echo});
|
|
const componentC = new Component("c", {echo: componentA.childId});
|
|
|