mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-14 09:38:13 +08:00
🚨 修复 qodana 报错
This commit is contained in:
@@ -331,7 +331,7 @@ class TGClient {
|
||||
async getDS(dsType: 2, callback: string, payload: any): Promise<void>;
|
||||
async getDS(dsType: 1 | 2, callback: string, payload?: any): Promise<void> {
|
||||
const saltType = dsType === 1 ? "lk2" : "common";
|
||||
let ds = "";
|
||||
let ds: string;
|
||||
if (dsType === 2) {
|
||||
const { body, query } = payload;
|
||||
ds = getDS4JS(saltType, dsType, body, query);
|
||||
|
||||
Reference in New Issue
Block a user