Update prettier to 3.3.3

This commit is contained in:
Fedor Indutny 2024-07-23 17:31:40 -07:00 committed by GitHub
parent 1773ad1e11
commit 24a22bf191
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
109 changed files with 452 additions and 392 deletions

View file

@ -40,7 +40,7 @@ const SignalRouteHostnames = [
* Type to help maintain {@link SignalRouteHostnames}, real hostnames should go there.
*/
type AllHostnamePatterns =
| typeof SignalRouteHostnames[number]
| (typeof SignalRouteHostnames)[number]
| 'verify'
| 'linkdevice'
| 'addstickers'
@ -66,7 +66,7 @@ type PatternInput = {
type URLMatcher = (input: URL) => URLPatternResult | null;
function _pattern(
protocol: typeof SignalRouteProtocols[number],
protocol: (typeof SignalRouteProtocols)[number],
hostname: AllHostnamePatterns,
pathname: PatternString,
init: PatternInput
@ -585,7 +585,7 @@ strictAssert(
* ```
*/
export type ParsedSignalRoute = NonNullable<
ReturnType<typeof _allSignalRoutes[number]['fromUrl']>
ReturnType<(typeof _allSignalRoutes)[number]['fromUrl']>
>;
/** @internal */