Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit c70e9ec

Browse files
committedDec 20, 2016
fix: formatting issue.
1 parent 2643783 commit c70e9ec

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎lib/common/utils.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,9 @@ export function createNamedFn(name: string, delegate: (self: any, args: any[]) =
465465
}
466466

467467
export function patchMethod(
468-
target: any, name: string, patchFn: (delegate: Function, delegateName: string, name: string) =>
469-
(self: any, args: any[]) => any): Function {
468+
target: any, name: string,
469+
patchFn: (delegate: Function, delegateName: string, name: string) => (self: any, args: any[]) =>
470+
any): Function {
470471
let proto = target;
471472
while (proto && Object.getOwnPropertyNames(proto).indexOf(name) === -1) {
472473
proto = Object.getPrototypeOf(proto);

0 commit comments

Comments
 (0)
This repository has been archived.