We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vue - Official, v.2.0.28
1.92.2
3.3.4
5.5.3
No response
export type StrictTranslationKey = 'test' export function bindEnumeratedTranslations<Key extends string>(list: readonly Key[], mapping: (key: Key) => StrictTranslationKey): Record<Key, string> export function bindEnumeratedTranslations<Enum extends Record<string, string | number>>(value: Enum, mapping: (key: Enum[string]) => StrictTranslationKey): Record<Enum[string], string> export function bindEnumeratedTranslations<Key extends string, Enum extends Record<string, string | number>>(list: readonly Key[] | Enum, mapping: (key: Key | Enum[string]) => StrictTranslationKey): Record<any, any> { // stub return {} } const correct = bindEnumeratedTranslations(['test', 'test2'], key => 'test') const error = bindEnumeratedTranslations(['test', 'test2'], key => 'wrong')
bindEnumeratedTranslations
const error = bindEnumeratedTranslations(['test', 'test2'], key => 'wrong')
Full error description like this:
This works only with enabled Hybrid Mode.
Not full error description:
The text was updated successfully, but these errors were encountered:
Related Webstorm issue: https://youtrack.jetbrains.com/issue/WEB-66674
Sorry, something went wrong.
No branches or pull requests
Vue - Official extension or vue-tsc version
Vue - Official, v.2.0.28
VSCode version
1.92.2
Vue version
3.3.4
TypeScript version
5.5.3
System Info
No response
Steps to reproduce
bindEnumeratedTranslations
at the lineWhat is expected?
Full error description like this:
This works only with enabled Hybrid Mode.
What is actually happening?
Not full error description:
Link to minimal reproduction
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: