Update prettier to 3.3.3
This commit is contained in:
parent
1773ad1e11
commit
24a22bf191
109 changed files with 452 additions and 392 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue