DefinitelyTyped/types/symphony-api-client-node/symphony-api-client-node-tests.ts

10 lines
238 B
TypeScript

import * as Symphony from 'symphony-api-client-node';
Symphony.initBot('/config.json')
.then((authTokens: Symphony.AuthInfo) => {
console.log(authTokens);
})
.catch((err: any) => {
console.error(err);
});