Update dependencies & fix misc formatting errors

This commit is contained in:
2022-09-30 12:02:39 -05:00
parent 52762bd4a1
commit 0484a586bd
23 changed files with 932 additions and 2797 deletions

View File

@@ -45,7 +45,7 @@ export class SocketRouteBuilder {
* @param key
* @param selector
*/
connected<TKey extends any>(
connected<TKey>(
key: TypedDependencyKey<TKey>,
selector: (x: TKey) => (ws: WebSocketBus) => Awaitable<void>,
): this {
@@ -68,7 +68,7 @@ export class SocketRouteBuilder {
* @param key
* @param selector
*/
event<TState extends JSONState, TKey extends any>(
event<TState extends JSONState, TKey>(
eventClass: Instantiable<StateEvent<TState>>,
key: TypedDependencyKey<TKey>,
selector: (x: TKey) => (state: TState) => Awaitable<void>,