Closed lmcgupe closed 7 years ago
The actual compile error is shown in the lines below the part that you copied:
src/base/view/vnode-utils.ts (20,5): Type '(SModelElement | ((model: SModelElement, event: Event) => void))[]' is not assignable to type 'EventListener'.
Type '(SModelElement | ((model: SModelElement, event: Event) => void))[]' provides no match for the signature '(evt: Event): void'. (2322)
Fixed that.
I just cloned sprotty and ran instructions as documented: npm install npm run test which results in
/home/lmcgupe/Desktop/sprotty/client/node_modules/ts-node/src/index.ts:316 throw new TSError(formatDiagnostics(diagnosticList, cwd, ts, lineOffset)) ^ TSError: ⨯ Unable to compile TypeScript
Could there be a missing dependency ?