Skip to content
This repository has been archived by the owner on Dec 14, 2024. It is now read-only.

Commit

Permalink
fix(Prometheus): add httpPort to type declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceEEC committed May 19, 2019
1 parent dde4b29 commit a58df3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Shard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ process.on('unhandledRejection', (error: Error) => {
webhook.error('REJECTION', error);
});

const { clientToken: token, httpPort }: { clientToken: string } = require('../data');
const { clientToken: token, httpPort }: { clientToken: string, httpPort: number } = require('../data');

const manager: ShardingManager = new ShardingManager(join(__dirname, 'index.js'), {
token,
Expand Down

0 comments on commit a58df3d

Please sign in to comment.