import 'adapterjs/publish/adapter.debug.js';
1- Import the AdapterJS library from their .angular-cli.json file:
... "apps": [{ "scripts": [ "external-libs/adapter.debug.js" ], ... }] ...
2- Declare the AdapterJS library and would be able to use all the global attributes in it (scoped to the window scope) by doing this in the app.component.ts:
declare var AdapterJS: any;let AdapterJS = require('adapterjs/publish/adapter.debug.js');