9 lines
203 B
TypeScript
9 lines
203 B
TypeScript
|
declare function defineProp<T>(
|
||
|
obj: T,
|
||
|
prop: string,
|
||
|
descriptor: PropertyDescriptor
|
||
|
): T;
|
||
|
declare function defineProp<T>(obj: T, descriptor: PropertyDescriptorMap): T;
|
||
|
|
||
|
export = defineProp;
|