Skip to content

Error en el archivo Server.ts #1

@cenrique91

Description

@cenrique91

hola Fernando he probado tu codigo y en el Archivo Server.ts me da un error en el metodo

start( callback: Function ) {

    this.httpServer.listen( this.port, callback );

}

me da este tipo de error...

Argument of type 'Function' is not assignable to parameter of type '() => void'.
Type 'Function' provides no match for the signature '(): void'.ts(2345)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions