I\'m trying to use the follwing line:
import Clipboard = require(\'clipboard\');
and I get the following error:
[default] c:
In case you are using Angular CLI: I was able to compile my project after I had set the value of module to es2016 in the file src/tsconfig.app.json.
module
es2016
src/tsconfig.app.json