repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: cleanup unneeded type casting
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
ui-server
/
UIHttpServer.ts
diff --git
a/src/charging-station/ui-server/UIHttpServer.ts
b/src/charging-station/ui-server/UIHttpServer.ts
index eb3550830682f45cff76aff8559df71b34e855f5..7c102195413aed23e4a68e5ee28abf1657a9fcf8 100644
(file)
--- a/
src/charging-station/ui-server/UIHttpServer.ts
+++ b/
src/charging-station/ui-server/UIHttpServer.ts
@@
-1,4
+1,4
@@
-import type { IncomingMessage,
RequestListener,
ServerResponse } from 'node:http'
+import type { IncomingMessage, ServerResponse } from 'node:http'
import { StatusCodes } from 'http-status-codes'
import { StatusCodes } from 'http-status-codes'
@@
-33,7
+33,7
@@
export class UIHttpServer extends AbstractUIServer {
}
public start (): void {
}
public start (): void {
- this.httpServer.on('request', this.requestListener.bind(this)
as RequestListener
)
+ this.httpServer.on('request', this.requestListener.bind(this))
this.startHttpServer()
}
this.startHttpServer()
}