refactor(sdk): musicSdk 全量迁移至 TypeScript
This commit is contained in:
1 parent
f289df4cd7
commit
1dfb7a59ca
83 files changed
+924
-732
No files matched your search
@@ -0,0 +1,8 @@
|
||||
// SDK 根请求模块(转接至 src/common/request.js)
|
||||
// musicSdk 内 `import { ... } from '../request.js'` 的解析目标
|
||||
|
||||
import { httpFetch as rawHttpFetch } from '../src/common/request.js'
|
||||
import type { HttpRequestObject, HttpOptions } from './types.ts'
|
||||
|
||||
export const httpFetch: (url: string, options?: HttpOptions) => HttpRequestObject =
|
||||
rawHttpFetch as (url: string, options?: HttpOptions) => HttpRequestObject
|
||||
Reference in new issue
Block a user