diff --git a/CHANGELOG.md b/CHANGELOG.md index 877859a16..15003425f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,13 @@ -## 0.17.1 (unreleased) +## 0.17.2 (unreleased) ### Improvements +## 0.17.1 (Released March 6, 2019) + +### Improvements + +- Slight tweak to `Output.apply` signature to help TypeScript infer types better. + ## 0.17.0 (Released March 5, 2019) This update includes several changes to core `@pulumi/pulumi` constructs that will not play nicely diff --git a/sdk/nodejs/output.ts b/sdk/nodejs/output.ts index 15cd7fa28..6dbeebba2 100644 --- a/sdk/nodejs/output.ts +++ b/sdk/nodejs/output.ts @@ -510,7 +510,9 @@ export interface OutputInstance { * available for functions that end up executing in the cloud during runtime. To get the value * of the Output during cloud runtime execution, use `get()`. */ - apply(func: (t: T) => Input): Output; + apply(func: (t: T) => Promise): Output; + apply(func: (t: T) => OutputInstance): Output; + apply(func: (t: T) => U): Output; /** * Retrieves the underlying value of this dependency.