Skip to content

Commit

Permalink
fix: exports missing messages type
Browse files Browse the repository at this point in the history
  • Loading branch information
retconned committed Sep 14, 2024
1 parent b585d99 commit 9924c7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions examples/basic-bot.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { createClient } from "../src";
import type { MessageData } from "../src/types/events";
import { createClient, type MessageData } from "@retconned/kick-js";
import "dotenv/config";

const client = createClient("xqc", { logger: true });
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { createClient } from "./client/client";
import type { MessageData } from "./types/events.js";

export { createClient };
export type { MessageData };

0 comments on commit 9924c7b

Please sign in to comment.