New issue
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
typing defineComponent props #3796
Comments
You might want to open a PR. But you will need to explain yourself (in English) Ines off just post pictures |
@posva I added some background information |
@posva @pikax The type of import { defineComponent } from 'vue';
const Component1 = {
props: {
foo: String,
},
};
const Component2 = defineComponent(Component1);
Component1.props; // --> { foo: StringConstructor }
Component2.props; // --> any |
#5416 introduced a regression because it changed the argument order of We need to find a way to do it while preserving the current argument order of |
Version
3.0.11
Reproduction link
youzan/vant#8701
Steps to reproduce
What is expected?
What is actually happening?
The text was updated successfully, but these errors were encountered: