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

Update types.ts to match ace-builds #1898

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

gchallen
Copy link
Contributor

ace-builds defines scroller as an HTMLElement. This change avoids type errors when using IAceEditor as the type of the editor reference returned from onLoad.

What's in this PR?

A small change to the react-ace typings.

List the changes you made and your reasons for them.

To match ace-builds, specifically the scroller element defined here: https://github.com/ajaxorg/ace-builds/blob/master/ace.d.ts#L683.

ace-builds defines scroller as an HTMLElement. This change avoids type errors when using IAceEditor as the type of the editor reference returned from onLoad.
@securingsincity securingsincity merged commit f7e1a34 into securingsincity:main Jun 25, 2024
4 checks passed
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