This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 36
Building Error: error TS2420: Class 'RenderedCommon' incorrectly implements interface 'IRenderer'. #28
Comments
Same issue. |
Not yet and I gave up. |
I came across similar issue, what might help is adding The issue is that @Lumino staff needs to be locked down for certain checks (instanceof + typing). Extension developers has little to none control over which version it will actually run with, as the application itself will allow only the versions it was shipped with. Note that this might not be ideal solution if you use more libraries, not just lumino widgets. |
Same issue here |
fresende
added a commit
to fresende/elyra-streamlit-extension
that referenced
this issue
Jun 20, 2023
fresende
added a commit
to fresende/elyra-streamlit-extension
that referenced
this issue
Jun 20, 2023
More details: jupyterlab/jupyterlab-monaco#28 Signed-off-by: Fellipe Resende <fellipe.barros.resende@gmail.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I met the following error when run
yarn run build
node_modules/@jupyterlab/rendermime/lib/widgets.d.ts(7,31): error TS2420: Class 'RenderedCommon' incorrectly implements interface 'IRenderer'.
Types of property 'title' are incompatible.
Type 'Title' is not assignable to type 'Title'. Two different types with this name exist, but they are unrelated.
Types of property 'owner' are incompatible.
Type 'Widget' is not assignable to type 'Widget'. Two different types with this name exist, but they are unrelated.
Types of property 'layout' are incompatible.
Type 'Layout' is not assignable to type 'Layout'. Two different types with this name exist, but they are unrelated.
Property 'init' is protected but type 'Layout' is not a class derived from 'Layout'.
error Command failed with exit code 1.
The text was updated successfully, but these errors were encountered: