fix: Constants export in index.js (#285)

* fix: add Constants export in index.js
* fix: add missing constants export in index.d.ts


Co-authored-by: Pedro S. Lopez <pedroslopez@me.com>
This commit is contained in:
stefanfuchs
2020-08-03 03:58:15 -03:00
committed by GitHub
parent 5c84a1651d
commit fbdfd2c4dd
2 changed files with 12 additions and 2 deletions

View File

@@ -1,5 +1,7 @@
'use strict';
const Constants = require('./src/util/Constants');
module.exports = {
Client: require('./src/Client'),
@@ -15,5 +17,7 @@ module.exports = {
PrivateContact: require('./src/structures/PrivateContact'),
BusinessContact: require('./src/structures/BusinessContact'),
ClientInfo: require('./src/structures/ClientInfo'),
Location: require('./src/structures/Location')
};
Location: require('./src/structures/Location'),
...Constants
};