mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 02:32:18 +00:00
[TS] Fix ts-strict errors in Vue components (Part 4) (#3134)
This commit is contained in:
@@ -146,7 +146,7 @@ const cpuMode = computed({
|
||||
selected.value = value ? 'cpu' : null
|
||||
}
|
||||
})
|
||||
const selected = defineModel<TorchDeviceType>('device', {
|
||||
const selected = defineModel<TorchDeviceType | null>('device', {
|
||||
required: true
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user