import { expectType } from 'tsd'; import EdgeGrid = require('.') const eg = new EdgeGrid({ path: '/path/to/.edgerc', section: 'section-header' }); expectType(eg) var req = { path: '/identity-management/v3/user-profile', method: 'GET', headers: {}, body: {} } expectType(eg.auth(req)) expectType(eg.send((error, resp, body) => console.log(body)))