Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagobustamante committed Aug 17, 2020
1 parent fc22a52 commit fbc53ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typescript-rest",
"version": "3.0.1",
"version": "3.0.2",
"description": "A Library to create RESTFul APIs with Typescript",
"author": "Thiago da Rosa de Bustamante <[email protected]>",
"keywords": [
Expand Down Expand Up @@ -118,4 +118,4 @@
"node": ">=6.0.0"
},
"engineStrict": true
}
}
3 changes: 2 additions & 1 deletion src/server/model/server-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ export interface ServiceFactory {
/**
* Return the type used to handle requests to the target service.
* By default, returns the serviceClass received, but you can use this
* to implement IoC integrations.
* to implement IoC integrations, once some frameworks like typescript-ioc or
* Inversify can override constructors for injectable types.
*/
getTargetClass: (serviceClass: Function) => FunctionConstructor;
}
Expand Down

0 comments on commit fbc53ae

Please sign in to comment.