diff --git a/package.json b/package.json index 59b3ba5..c030a7d 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "docs:build": "vitepress build docs", "docs:preview": "vitepress preview docs" }, - "version": "3.2.5", + "version": "3.2.6", "devDependencies": { "jest": "^29.5.0", "vitepress": "^1.0.0-rc.44" diff --git a/src/index.d.ts b/src/index.d.ts new file mode 100644 index 0000000..1593ad6 --- /dev/null +++ b/src/index.d.ts @@ -0,0 +1,6 @@ +import IReddit from "./lib/reddit"; + +export interface IMethods { + random: () => void; + reddit: (params: IReddit) => void; +} \ No newline at end of file diff --git a/src/lib/reddit.d.ts b/src/lib/reddit.d.ts new file mode 100644 index 0000000..7148c51 --- /dev/null +++ b/src/lib/reddit.d.ts @@ -0,0 +1,7 @@ +interface IReddit { + locale: string; + customSubredditName: string; + fullRawBody: string +} + +export default IReddit; \ No newline at end of file