How are you supposed to import raven-js, when developing with Angular and typescript?
I have seen many different import styles:
import Raven from 'raven-js';
import * as Raven from 'raven-js';
import { Raven } from 'raven-js';
I have also tried to reproduce some of the errors I recieved on Stackblitz. However I can’t seem to reproduce one specific error, when I use the 1 import option:
[ts] Module '"<full-path-to-node_modules>/raven-
js/typescript/raven"' has no default export.
So now I am just confused - how are you supposed to import raven-js with Angular?