import { ComputeRaw } from '../Any/Compute'; import { Keys } from '../Any/Keys'; import { OptionalFlat } from '../Object/Optional'; import { Record } from '../Object/Record'; /** * @hidden */ declare type _Strict = U extends unknown ? U & OptionalFlat, keyof U>, never>> : never; /** * Make a [[Union]] not allow excess properties (https://github.com/Microsoft/TypeScript/issues/20863) * @param U to make strict * @returns [[Union]] * @example * ```ts * ``` */ export declare type Strict = ComputeRaw<_Strict>; export {};