style: set endOfLine as lf instead of crlf

This commit is contained in:
kunish 2023-09-14 16:53:33 +08:00
parent 0026008178
commit 51f99b94ef
No known key found for this signature in database
GPG Key ID: 647A12B4F782C430
3 changed files with 2 additions and 3 deletions

View File

@ -5,5 +5,5 @@
], ],
"semi": false, "semi": false,
"singleQuote": true, "singleQuote": true,
"endOfLine": "crlf" "endOfLine": "lf"
} }

View File

@ -52,7 +52,7 @@ export const wsEndpointURL = () =>
export const useWsRequest = <T>( export const useWsRequest = <T>(
path: string, path: string,
queries: Record<string, string> = {} queries: Record<string, unknown> = {},
) => { ) => {
const queryParams = new URLSearchParams(queries) const queryParams = new URLSearchParams(queries)
queryParams.set('token', secret() ?? '') queryParams.set('token', secret() ?? '')

View File

@ -1,4 +1,3 @@
import { LOG_LEVEL } from '~/constants' import { LOG_LEVEL } from '~/constants'
declare module 'solid-js' { declare module 'solid-js' {