mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-04 15:10:06 +00:00
Proper fix on locale message type (#1894)
This commit is contained in:
@@ -15,11 +15,7 @@ import ruCommands from './locales/ru/commands.json'
|
||||
import jaCommands from './locales/ja/commands.json'
|
||||
import koCommands from './locales/ko/commands.json'
|
||||
|
||||
function buildLocale(
|
||||
main: typeof en,
|
||||
nodes: typeof enNodes,
|
||||
commands: typeof enCommands
|
||||
) {
|
||||
function buildLocale<M, N, C>(main: M, nodes: N, commands: C) {
|
||||
return {
|
||||
...main,
|
||||
nodeDefs: nodes,
|
||||
|
||||
Reference in New Issue
Block a user