raml-org / api-modeling-framework

DEPRECATED - This project has been moved
https://github.com/aml-org/amf
Other
27 stars 11 forks source link

JointJS typings are wrong #26

Closed antoniogarrote closed 7 years ago

antoniogarrote commented 7 years ago

Right now compilation of the TS frontend is failing with an error about a missing dependency for joint.js:

api-modeller-web [master] $ tsc
node_modules/jointjs/dist/joint.d.ts(19,1): error TS2688: Cannot find type definition file for 'backbone'.

There are three sources of typings for joint.js available

For some reason TSC is preferring the typings in the installed npm package that are failing because the missing dependency with backbone.

We need to make the compilation process go through, editing the typings if necessary.