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.0.0-beta.18
https://codesandbox.io/s/vue-tsx-typeerror-repro-q2j4r?file=/src/main.tsx
const HelloWorld = (props: { msg: string }) => (<div>{props.msg}</div>); const vm = <HelloWorld msg="foo" key="1" />;
No compilation error
Compilation error at second line
Type '{ msg: string; key: string; }' is not assignable to type '{ foo: string; }'. Property 'key' does not exist on type '{ msg: string; }'.ts(2322)
The text was updated successfully, but these errors were encountered:
fix(runtime-dom): add JSX.IntrinsicAttributes definition(vuejs#1516)
c174660
a5b4332
No branches or pull requests
Version
3.0.0-beta.18
Reproduction link
https://codesandbox.io/s/vue-tsx-typeerror-repro-q2j4r?file=/src/main.tsx
Steps to reproduce
What is expected?
No compilation error
What is actually happening?
Compilation error at second line
The text was updated successfully, but these errors were encountered: