Open Ryex opened 2 months ago
Have you tried our other NPM package called ace-code
? See some of the ACE samples related to ace-code
on how to set it up. This way you can use direct imports.
I did, it was what I used initially. however it's arguably a worse experience with typescript because things like the toolltip module arn't declared and the types don't map.
Describe the bug
ace-builds exports the interface for
MarkerGroup
in it's types file but does not contain or export the actual class definition. neither in its mainace.js
nor any of the src* directorieshttps://github.com/search?q=repo%3Aajaxorg%2Face-builds%20Markergroup&type=code
Additionally the export Types contain no definition for
MouseEvent
,Tooltip
,HoverTooltip
norPopupManager
Expected Behavior
should succeed, especially after importing the esm or webpack resolver.
and types like
should be exported.
Current Behavior
you need to redefine
ace/marker_group
withace.define
by copying code from kitchen_sink.js into your projectReproduction Steps
put
"ace-builds": "^1.36.0",
in yourpackage.json
dependencies and try to import and useMarkerGroup
Possible Solution
No response
Additional Information/Context
No response
Ace Version / Browser / OS / Keyboard layout
ace-builds: "^1.36.0"