UNPKG

type-plus

Version:
10 lines 284 B
export declare function as<T>(subject: unknown): T; export declare function asAny(subject: unknown): any; /** * amend `subject` with type `T` */ export declare function amend<S>(subject: S): { union<T>(): T & S; intersect<T_1>(): S | T_1; }; //# sourceMappingURL=as.d.ts.map