mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
14 lines
301 B
TypeScript
14 lines
301 B
TypeScript
export = autoBind;
|
|
|
|
declare function autoBind(
|
|
obj: { [key: string]: PropertyDescriptor },
|
|
options?: autoBind.Options
|
|
): PropertyDescriptorMap;
|
|
|
|
declare namespace autoBind {
|
|
interface Options {
|
|
overwriteDefinition?: boolean;
|
|
resolveContext?: (context: any) => any;
|
|
}
|
|
}
|