DefinitelyTyped/types/neverbounce/neverbounce-tests.ts
George Novitskiy a513c86074 Added type definitions for neverbounce (#36238)
* Added type definitions for neverbounce

* Fixed neverbounce tests
2019-06-20 14:00:56 -07:00

16 lines
331 B
TypeScript

import NeverBounce = require('neverbounce');
const Client = new NeverBounce({});
Client.account.info().then(() => {});
Client.jobs.create([
{
id: '12345',
email: 'email',
name: 'name'
}
], NeverBounce.job.inputType.supplied,
'Created from Array.csv'
).then(() => {});