Skip to content
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

Typescript bug on value prop. #60

Open
yilmazbingo opened this issue Feb 15, 2021 · 1 comment
Open

Typescript bug on value prop. #60

yilmazbingo opened this issue Feb 15, 2021 · 1 comment

Comments

@yilmazbingo
Copy link

I set my project with Webpack-5 and typescript. I got this error first time I rendered the <MDEditor /> without "value" prop.
md

I checked the documentation and looks like "value" prop is the only required prop but I did not get typescript warning. Typescript gives me warning for other packages's required props so ts configuration in my project is correct. I though this might be a bug.

@jaywcjlove
Copy link
Member

@yilmazbingo value !== undefined, value cannot be equal to undefined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants