UNPKG

@halospv3/hce.shared-config

Version:

Automate commit message quality, changelogs, and CI/CD releases. Exports a semantic-release shareable configuration deserialized from this package's '.releaserc.yml'. Shared resources for .NET projects are also distributed with this package.

20 lines 597 B
/** * ### `Exact<T, S>` * * [issue](https://github.com/microsoft/TypeScript/issues/12936#issuecomment-2816928183)\ * [author](https://github.com/ahrjarrett)\ * license: unlicensed[!] * @see * - {@link https://tsplay.dev/NnGG6m} */ export type Exact<T, S> = [keyof T] extends [keyof S] ? [T] extends [S] ? { [K in keyof T]: T[K]; } : S : { [K in keyof T as K extends keyof S ? never : K]: TypeError<`Excess: '${Coerce<K>}'`>; }; interface TypeError<Message> { [' TypeError']: Message; } type Coerce<T> = `${T & (string | number)}`; export {}; //# sourceMappingURL=Exact.d.ts.map