lint fix
This commit is contained in:
@@ -15,7 +15,7 @@ import {
|
||||
saveViewPrevState as saveViewPrevStateFromData,
|
||||
} from '@renderer/utils/ipc'
|
||||
import { throttle } from '@common/utils'
|
||||
import { DEFAULT_SETTING, LIST_IDS } from '@common/constants'
|
||||
import { type DEFAULT_SETTING, LIST_IDS } from '@common/constants'
|
||||
import { dateFormat } from './index'
|
||||
import { setUpdateTime } from '@renderer/store/list/action'
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ export const getFontSizeWithScreen = (screenWidth: number = window.innerWidth):
|
||||
|
||||
|
||||
export const deduplicationList = <T extends LX.Music.MusicInfo>(list: T[]): T[] => {
|
||||
const ids: Set<string> = new Set()
|
||||
const ids = new Set<string>()
|
||||
return list.filter(s => {
|
||||
if (ids.has(s.id)) return false
|
||||
ids.add(s.id)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { isMac } from '@common/utils'
|
||||
|
||||
const downKeys: Set<string> = new Set()
|
||||
const downKeys = new Set<string>()
|
||||
|
||||
export declare type KeyActionType = LX.KeyDownEevent['type']
|
||||
export declare type Keys = LX.KeyDownEevent['keys']
|
||||
|
||||
Reference in New Issue
Block a user