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
3.4.21
https://stackblitz.com/edit/vitejs-vite-rcbytc?file=src%2Fcomponents%2FHelloWorld.tsx
when i used Function Signature with error
No errors
Parameter 'context' implicitly has an 'any' type
System: OS: macOS 13.6.7 CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz Memory: 29.79 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 21.7.3 - ~/.nvm/versions/node/v21.7.3/bin/node npm: 10.5.0 - ~/.nvm/versions/node/v21.7.3/bin/npm pnpm: 9.0.6 - /usr/local/bin/pnpm bun: 1.0.25 - ~/.bun/bin/bun npmPackages: vue: ^3.4.21 => 3.4.21
No response
The text was updated successfully, but these errors were encountered:
hi, can i work on this issue?
Sorry, something went wrong.
Try this it's working, This issue file is not presented in the project?
import { ref, defineComponent, SetupContext } from 'vue';
export default defineComponent( <T extends string | number>(props: { msg: T; list: T[] }, context: SetupContext) => { const count = ref(0); console.log(props, context),
return () => { return <div>{count.value}</div>; };
}, { props: ['msg', 'list'], } );
No branches or pull requests
Vue version
3.4.21
Link to minimal reproduction
https://stackblitz.com/edit/vitejs-vite-rcbytc?file=src%2Fcomponents%2FHelloWorld.tsx
Steps to reproduce
when i used Function Signature with error
What is expected?
No errors
What is actually happening?
Parameter 'context' implicitly has an 'any' type
System Info
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: