I get - error TS2324: Expected at least 2 arguments to msg(), got 1
- for all uses of msg.
Not sure what we have done wrong tried to run the example project also but it doesn't build FYI
- [Lit] - version: "2.8.0"
- [@lit/localize] version: "0.12.1"
- [@lit/localize-tools] - version : "^0.7.2"
- [typescript] - version: "^5.3.3"
- Wraps a few string values in msg
- set up lit-localize.json
{
"$schema": "https://raw.githubusercontent.com/lit/lit/main/packages/localize-tools/config.schema.json",
"sourceLocale": "en",
"targetLocales": ["es-419", "zh-Hans", "zh_CN"],
"tsConfig": "tsconfig.json",
"output": {
"mode": "runtime",
"outputDir": "src/i18n/generated/locales",
"localeCodesModule": "src/i18n/generated/locale-codes.ts"
},
"interchange": {
"format": "xliff",
"xliffDir": "./xliff/"
}
}
- run 'npx lit-localize' command
- I get - error TS2324: Expected at least 2 arguments to msg(), got 1
- for all uses of msg.