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
I am trying to port a mithril based js app to typescript. The final thing to get right is JSX props. (JSX works as expected when not using props)
Container.tsx:17:38 - error TS2339: Property 'data' does not exist on type '{}'. items.push(<Item data={myData}/>);
I solved it by using https://github.com/andraaspar/mithril-tsx-component
Is there any other way I could achieve the same result without using the above 3rd party component?
The text was updated successfully, but these errors were encountered:
@evnix Glad you got something working. Typescript-related issues should probably be posted here.
Sorry, something went wrong.
No branches or pull requests
I am trying to port a mithril based js app to typescript.
The final thing to get right is JSX props. (JSX works as expected when not using props)
I solved it by using https://github.com/andraaspar/mithril-tsx-component
Is there any other way I could achieve the same result without using the above 3rd party component?
The text was updated successfully, but these errors were encountered: