mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-24 20:14:35 -04:00
chore(deps): update linters
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
8ab09131a8
commit
2ab59b750c
8 changed files with 64 additions and 64 deletions
|
@ -19,8 +19,8 @@ type MessageEventPayloadMap = {
|
|||
[E in AllEvents]: E extends keyof MessagePayloads
|
||||
? (message: Message<E>) => void
|
||||
: E extends ConnectionStateEvent.DISCONNECTED
|
||||
? (reason?: DisconnectReason) => void
|
||||
: () => void
|
||||
? (reason?: DisconnectReason) => void
|
||||
: () => void
|
||||
}
|
||||
|
||||
export enum ConnectionState {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
export type DeepPartial<T> = T extends null | undefined
|
||||
? T
|
||||
: T extends Array<infer ArrayType>
|
||||
? Array<DeepPartial<ArrayType>>
|
||||
: T extends Record<string | number | symbol, unknown>
|
||||
? { [P in keyof T]?: DeepPartial<T[P]> }
|
||||
: T
|
||||
? Array<DeepPartial<ArrayType>>
|
||||
: T extends Record<string | number | symbol, unknown>
|
||||
? { [P in keyof T]?: DeepPartial<T[P]> }
|
||||
: T
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue