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

Commit

Permalink
typings: Resolved false augmentation error
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranet committed May 29, 2019
1 parent bfffdc4 commit 04c8d47
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
import { KlasaClient, KlasaClientOptions, Piece, Store, PieceOptions, PieceDefaults, KlasaUser, KlasaGuild } from 'klasa';
import { Server as HttpServer, IncomingMessage, ServerResponse } from 'http';
import { SecureContextOptions, Server as HttpSecureServer } from 'tls';
import { Http2SecureServer } from 'http2';
import { DataStore, Collection, Permissions } from 'discord.js';

declare module 'klasa-dashboard-hooks' {

import {
KlasaClient,
KlasaClientOptions,
Piece,
Store,
PieceOptions,
PieceDefaults,
KlasaUser,
KlasaGuild
} from 'klasa';
import { Server as HttpServer, IncomingMessage, ServerResponse } from 'http';
import { SecureContextOptions, Server as HttpSecureServer } from 'tls';
import { Http2SecureServer } from 'http2';
import { DataStore, Collection, Permissions } from 'discord.js';

//#region Classes

export class DashboardClient extends KlasaClient {
Expand Down

0 comments on commit 04c8d47

Please sign in to comment.