You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating typescript from version 5.0.4 to 5.1.3, I'm getting a type error with the term method Argument of type '[]' is not assignable to parameter of type 'never'.ts(2345)
on this kind of line : ${this.localize.term('MYKEY')}
I followed this implementation to get strongly typed translations and everything worked fine before the typescript update.
Is there a workaround to solve this ?
The text was updated successfully, but these errors were encountered:
TypeScript doesn't follow SemVer, and Shoelace is still on 4.9.4 (and this package is on 4.8.4). I'll see if we can get these upgraded to a more recent version for the next release.
I'm not sure what changes they've made, so it may or may not be a straightforward update.
After updating typescript from version 5.0.4 to 5.1.3, I'm getting a type error with the
term
methodArgument of type '[]' is not assignable to parameter of type 'never'.ts(2345)
on this kind of line :
${this.localize.term('MYKEY')}
I followed this implementation to get strongly typed translations and everything worked fine before the typescript update.
Is there a workaround to solve this ?
The text was updated successfully, but these errors were encountered: