Skip to content

Commit

Permalink
fix: export interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
zaida04 committed Jun 28, 2024
1 parent 1eca3a7 commit 9f3be3b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/gil/lib/structures/Listener.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { GilClient } from "../GilClient";

interface ListenerOptions {
export interface ListenerOptions {
event: string;
emitter: "gjs" | "gil";
}
Expand All @@ -11,7 +11,7 @@ export abstract class Listener {
public constructor(
public readonly gil: GilClient,
public readonly options: ListenerOptions,
) {}
) { }

public abstract execute(context: ListenerContext, ...args: unknown[]): unknown | Promise<unknown>;
}
2 changes: 1 addition & 1 deletion packages/gil/lib/structures/Task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { GilClient } from "../GilClient";
import { Manager } from "./Manager";
import Cron from "node-cron";

interface TaskOptions {
export interface TaskOptions {
// The internal-safe name of the task
name: string;
// A cron representing the interval at which the task should run.
Expand Down
2 changes: 1 addition & 1 deletion packages/gil/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@guildedjs/gil",
"version": "0.6.4",
"version": "0.6.5",
"description": "Framework for guilded.js that allows you to build bots with ease.",
"author": "Zaid \"Nico\" <[email protected]>",
"license": "MIT",
Expand Down

0 comments on commit 9f3be3b

Please sign in to comment.