fix(core): update

This commit is contained in:
2020-03-25 20:15:46 +00:00
parent e4ebd99c8f
commit df96f08038
5 changed files with 26 additions and 14 deletions

View File

@ -3,9 +3,9 @@ import * as sdk from '../ts/index';
import { ISimpleRequest } from '@tsclass/tsclass/dist_ts/network';
tap.test('should create a valid Handler', async () => {
class MyHandler extends sdk.AAgHandler {
class MyHandler extends sdk.AAgHandler<any> {
slug: 'testapi';
public async handleRequest(request: ISimpleRequest) {
public async handleRequest(authInfo: sdk.AuthInfo<any>, request: ISimpleRequest) {
// this.authenticationHandler
let response: any;
return response;