Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
logger.log("sendChange", delta);
lsClient.nextChange("/main.ts", delta);
});
lsClient.getErrors$("/main.ts").subscribe(errors => {
if (errors.length) {
logger.log("rcvError", errors);
} else {
logger.log("clearError");
}
editorSession.setAnnotations(errors);
});
if (lsClient.useComplete) {
const completer = createCompleter(lsClient.languageServiceSession);
langTools.addCompleter(completer);
}
return editor;
}