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.
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 thescroller
element defined here: https://github.com/ajaxorg/ace-builds/blob/master/ace.d.ts#L683.