优化后端代码质量基础
This commit is contained in:
@@ -6,7 +6,7 @@ import { createHttpError } from '../../utils/http.js'
|
||||
const DEFAULT_WPUSH_ENDPOINT = 'https://api.wpush.cn/api/v1/send'
|
||||
const DEFAULT_TIMEOUT_MS = 10000
|
||||
|
||||
type JsonObject = Record<string, any>
|
||||
type JsonObject = Record<string, unknown>
|
||||
type NodeHttpResponse = {
|
||||
ok: boolean
|
||||
status: number
|
||||
|
||||
Reference in New Issue
Block a user