I have used ko.applybindings only a single time on the page, still it shows the error. Does anyone have a fix for this. Please help.
FYI:ko.cleanNode(document.getElementById("diagram-container"));adding this doesn't work.
ojbootstrap_1.whenDocumentReady().then(() => {
ko.applyBindings(new DiagramModel(), document.getElementById("diagram-container"));
});