Skip to content

Commit

Permalink
feat: add exports in index.ts for scrapers and types
Browse files Browse the repository at this point in the history
  • Loading branch information
ghoshRitesh12 committed Aug 5, 2024
1 parent 842d617 commit bc658c7
Showing 1 changed file with 21 additions and 7 deletions.
28 changes: 21 additions & 7 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
export type Something = {
text: string;
};
// scraper exports
export * from "./scrapers/index.js";

const t: Something = {
text: "sample text",
};
// scraper type exports
export * from "./types/scrapers/index.js";

console.log(t);
// common anime type exports
// export * from "./types/anime.js";

// // anime search type exports
// export * from "./types/animeSearch.js";

// helpful constant exports
// export {
// typeIdMap,
// sortIdMap,
// ratedIdMap,
// scoreIdMap,
// genresIdMap,
// seasonIdMap,
// statusIdMap,
// languageIdMap,
// } from "./utils/constants.js";

0 comments on commit bc658c7

Please sign in to comment.