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 doesn't recognize the constants that in Jodit #806

Closed
oshri6688 opened this issue Mar 13, 2022 · 1 comment
Closed

TypeScript doesn't recognize the constants that in Jodit #806

oshri6688 opened this issue Mar 13, 2022 · 1 comment

Comments

@oshri6688
Copy link

oshri6688 commented Mar 13, 2022

Jodit Version: 3.15.3

Browser: Chrome
OS: Windows
Is React App: True

Expected behavior:
All the constants should be defined in Jodit to be able to used it with TypeScript (constants file)

Actual behavior:
TypeScript doesn't recognize the constants that in Jodit (e.g. MODE_SOURCE)
image

@oshri6688 oshri6688 changed the title TypeScript doesn't recognize the constants that you have in Jodit TypeScript doesn't recognize the constants that in Jodit Mar 13, 2022
xdan added a commit that referenced this issue Mar 16, 2022
@xdan
Copy link
Owner

xdan commented Mar 16, 2022

Added Jodit.constants. Please use it instead. I don't know how to do it differently

@xdan xdan closed this as completed Mar 27, 2022
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