unable to import DOMHelper from glsp/client #843
-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, import { DOMHelper } from 'sprotty/lib/base/views/dom-helper'; |
Beta Was this translation helpful? Give feedback.
Hi,
the
@eclipse-glsp/client
only reexports the main index file of sprotty. This main index file does not necessarily export all symbols/classes/types. Apparently theDOMHelper
class is not included. I don't know the reasoning behind this (could be intentionally or a mere oversight). As a workaround you can import theDOMHelper
class using the complete path: