mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-20 14:41:23 +08:00
perf: 更新接口定义
This commit is contained in:
@@ -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)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user