perf: 更新接口定义

This commit is contained in:
MoeFurina
2026-08-01 19:11:37 +08:00
parent a8b45a8b8b
commit 8f4873f2e2
3 changed files with 244 additions and 33 deletions
+4 -3
View File
@@ -1,10 +1,11 @@
import { banner, lyric } from '@neteasecloudmusicapienhanced/api'
import { logger } from '../util/logger.js'
banner({ type: 0 }).then((res) => {
import type { Response } from '@neteasecloudmusicapienhanced/api'
import logger from '../util/logger.js'
banner({ type: 0 }).then((res: Response) => {
logger.info(res)
})
lyric({
id: '33894312',
}).then((res) => {
}).then((res: Response) => {
logger.info(res)
})