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

add(type): suneditor-react module type definition #31

Merged
merged 1 commit into from
Mar 15, 2020

Conversation

serialine
Copy link

@serialine serialine commented Mar 11, 2020

Added index.d.ts for type infer

  • interface SunEditorReactProps
  • const SunEditor = React.ComponentType<SunEditorReactProps>

related suneditor issue
JiHong88/suneditor#197

@mkhstar mkhstar merged commit 56904fb into mkhstar:master Mar 15, 2020
@mkhstar
Copy link
Owner

mkhstar commented Mar 15, 2020

setContents property will remain optional

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

Successfully merging this pull request may close these issues.

None yet

2 participants