I\'m trying to use the follwing line:
import Clipboard = require(\'clipboard\');
and I get the following error:
[default] c:
I had the same problem and changing to:
import * as myGlobals from "../globals";
fixed the problem. globals.ts file is in the main app folder, and I'm loading it up from subfolder services.
globals.ts
app
services