UNPKG

328 BTypeScriptView Raw
1export = autoBind;
2
3declare function autoBind(
4 obj: { [key: string]: PropertyDescriptor },
5 options?: autoBind.Options,
6): PropertyDescriptorMap;
7
8declare namespace autoBind {
9 interface Options {
10 overwriteDefinition?: boolean | undefined;
11 resolveContext?: ((context: any) => any) | undefined;
12 }
13}
14
\No newline at end of file