mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-04 23:20:07 +00:00
[TS] Enable noUnusedParameters (#3110)
This commit is contained in:
@@ -45,7 +45,7 @@ const props = withDefaults(
|
||||
)
|
||||
|
||||
const imageBroken = ref(false)
|
||||
const handleImageError = (e: Event) => {
|
||||
const handleImageError = () => {
|
||||
imageBroken.value = true
|
||||
}
|
||||
|
||||
|
||||
@@ -103,7 +103,7 @@ const fileSize = computed(() =>
|
||||
const electronDownloadStore = useElectronDownloadStore()
|
||||
const [savePath, filename] = props.label.split('/')
|
||||
|
||||
electronDownloadStore.$subscribe((mutation, { downloads }) => {
|
||||
electronDownloadStore.$subscribe((_, { downloads }) => {
|
||||
const download = downloads.find((download) => props.url === download.url)
|
||||
|
||||
if (download) {
|
||||
|
||||
@@ -34,7 +34,7 @@ describe('SettingItem', () => {
|
||||
name: 'Node Input Conversion Submenus',
|
||||
type: 'combo',
|
||||
value: 'Top',
|
||||
options: (value: string) => ['Correctly Translated']
|
||||
options: () => ['Correctly Translated']
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user