Update prettier to 3.3.3
This commit is contained in:
parent
1773ad1e11
commit
24a22bf191
109 changed files with 452 additions and 392 deletions
|
@ -1,9 +1,8 @@
|
|||
// Copyright 2021 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
export type NullToUndefined<T> = Extract<T, null> extends never
|
||||
? T
|
||||
: Exclude<T, null> | undefined;
|
||||
export type NullToUndefined<T> =
|
||||
Extract<T, null> extends never ? T : Exclude<T, null> | undefined;
|
||||
|
||||
export function dropNull<T>(
|
||||
value: NonNullable<T> | null | undefined
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue