/** * Widen `x` to type `T` * * @example * * ```ts * const x = 123 as const * const y = widen(x).toType<123 | 234>() * ``` * * @param x - Variable to widen type of * @returns `{toType()}` */ export declare function widen(x: X): { toType(): X extends T ? T : never; }; //# sourceMappingURL=widenType.d.ts.map