Skip to content

Commit 8fbd61f

Browse files
authored
Update src/transports/http.test.ts
1 parent 84c244e commit 8fbd61f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transports/http.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ describe("http transport", () => {
157157
],
158158
} as any;
159159
const mapping = {
160-
getCustom: async function(this: any): Promise<any> { return this.req.customProp; }
160+
getCustom: async function(): Promise<any> { return this.req.customProp; }
161161
};
162162
const router = new Router(minimalDoc, mapping);
163163
transport.addRouter(router);

0 commit comments

Comments
 (0)