DefinitelyTyped/types/jsprintmanager/jsprintmanager-tests.ts
Philippe AURIOU c2b4069bc7 Add new DefinitelyTyped JSPrintManager v2.0.2 (#36759)
* Add JSPrintManager v2.0.2

* tslint

* tstslint

* tslint

* tslint

* tslint

* tslint

* add tests

* add test

* add test

* add tests

* delete blank lines
2019-07-16 10:50:09 -07:00

12 lines
236 B
TypeScript

import { JSPM } from 'jsprintmanager';
JSPM.JSPrintManager.start()
.then(_ => {
JSPM.JSPrintManager.getPrinters().then(e => {
console.log(e);
});
})
.catch(e => {
console.log(e);
});