Remove inheriting from jsonld-signatures abstract classes
Opened this issue · 1 comments
tplooker commented
Because jsonld-signatures is un-typed (written in JS) and this library leverages types through typescript when inheriting from an un-typed abstract based class the TS compiler is essentially blind. To improve the development experience we should sever this dependency and do one of the following
- Define our own base classes but in typescript
- Depend on types defined in transmutes version
- Dont define an abstract base class and just define the remaining API's directly in the signature suite classes.
See here for an example
kdenhartog commented
This has turned into a larger issue. jsonld.js needs to be properly typed first and so does jsonld-signatures before this suite can be defined. Otherwise there's likely to be typing conflicts in this library.