Compare commits

...

2 Commits

Author SHA1 Message Date
e9fad241ee 1.0.49 2020-10-06 15:50:12 +00:00
34face164f fix(core): update 2020-10-06 15:50:12 +00:00
3 changed files with 7 additions and 2 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@apiglobal/typedrequest",
"version": "1.0.48",
"version": "1.0.49",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@apiglobal/typedrequest",
"version": "1.0.48",
"version": "1.0.49",
"private": false,
"description": "make typed requests towards apis",
"main": "dist_ts/index.js",

View File

@ -30,6 +30,11 @@ export class TypedRequest<T extends plugins.typedRequestInterfaces.ITypedRequest
// STATIC
constructor(postEndPointArg: string | IPostMethod, methodArg: T['method']);
constructor(
postEndPointArg: string | IPostMethodWithTypedRouter,
methodArg: T['method'],
typedrouterRefArg: TypedRouter
);
constructor(
postEndPointArg: string | IPostMethodWithTypedRouter,
methodArg: T['method'],