Skip to content

Commit

Permalink
fix typing errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
joesonw committed Aug 3, 2017
1 parent cab2fba commit 080ac2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/RestfulService.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {
Metadata,
} from '@t2ee/core';
import RestfulClient from './RestfulCLient';
import RestfulClient from './RestfulClient';
import MethodDescription from './MethodDescription';

export default class RestfulService {
Expand Down Expand Up @@ -93,7 +93,7 @@ export default class RestfulService {
type: Metadata.get(`t2ee:restful:method:${key}:type`, service.prototype) || 'json',
};
}
return new Proxy({}, new RestfulClient(
return new Proxy({} as any, new RestfulClient(
description,
this._baseUrl,
this._headers,
Expand Down

0 comments on commit 080ac2d

Please sign in to comment.