In order to support prompt values in multi-lang components, if an input value is prompt, keep it as-is instead of wrapping it in an Output.
14 lines
400 B
TypeScript
14 lines
400 B
TypeScript
// Copyright 2016-2021, Pulumi Corporation. All rights reserved.
|
|
|
|
import * as pulumi from "@pulumi/pulumi";
|
|
|
|
export interface ComponentArgs {
|
|
children?: number;
|
|
}
|
|
|
|
export class Component extends pulumi.ComponentResource {
|
|
constructor(name: string, args: ComponentArgs, opts?: pulumi.ComponentResourceOptions) {
|
|
super("testcomponent:index:Component", name, args, opts, true);
|
|
}
|
|
}
|