I seem to be a bit confused here. Currently, I have the following code snippets:
import * as angular from 'angular';
import 'ts-angular-jsonapi';
Interestingly, no errors are being returned with this setup. But as soon as I try this:
import * as angular from 'angular';
import * as jsonapi from 'ts-angular-jsonapi';
An error pops up:
ERROR in ./src/index.ts
(14,23): error TS2307: Cannot find module 'ts-angular-jsonapi'.
Could you provide guidance on how to modify the ts-angular-jsonapi
library to resolve these errors?
Further details: I'm looking to achieve something like this:
class myresource extend jsonapi.resource {
}