UNPKG

@pulumi/awsx

Version:

[![Actions Status](https://github.com/pulumi/pulumi-awsx/workflows/master/badge.svg)](https://github.com/pulumi/pulumi-awsx/actions) [![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fur

10 lines (9 loc) 246 B
type Diff<T extends string | number | symbol, U extends string | number | symbol> = ({ [P in T]: P; } & { [P in U]: never; } & { [x: string]: never; })[T]; export type Overwrite<T, U> = Pick<T, Diff<keyof T, keyof U>> & U; export {};