6 lines
272 B
TypeScript
6 lines
272 B
TypeScript
![]() |
export declare type WithAge<TSource> = TSource & {
|
||
|
age: number;
|
||
|
};
|
||
|
export declare function isWithAge(obj: any): obj is WithAge<{}>;
|
||
|
export declare function extendWithAge<TSource>(sourceObj: TSource, age: number): WithAge<TSource>;
|
||
|
//# sourceMappingURL=WithAge.d.ts.map
|