更新ts类型导入导出语法
This commit is contained in:
@@ -2,7 +2,8 @@ import { markRawList } from '@common/utils/vueTools'
|
||||
import music from '@renderer/utils/musicSdk'
|
||||
import { sortInsert, similar } from '@common/utils/common'
|
||||
|
||||
import { sources, maxPages, listInfos, ListInfoItem, SearchListInfo } from './state'
|
||||
import type { ListInfoItem, SearchListInfo } from './state'
|
||||
import { sources, maxPages, listInfos } from './state'
|
||||
|
||||
interface SearchResult {
|
||||
list: ListInfoItem[]
|
||||
|
||||
@@ -5,7 +5,7 @@ import music from '@renderer/utils/musicSdk'
|
||||
|
||||
import { ListInfo } from '@renderer/store/songList/state'
|
||||
|
||||
export { ListInfoItem } from '@renderer/store/songList/state'
|
||||
export type { ListInfoItem } from '@renderer/store/songList/state'
|
||||
|
||||
export const sources: Array<LX.OnlineSource | 'all'> = markRaw([])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user