when i try to import a class( with super initialize) in to another class, i get this error
super expression must either be null or a function Object._inherits
and my code doesnt work,
below is imported class
export default class ToDo extends Editor{
#toDoEditor = null;
initialize(id, settings): void
{
super.initialize(id, settings);
this.#createEditor();
}}
Any hints at all as to what is wrong would be appreciated.