gadl/platform.ts
2023-11-19 21:25:56 +09:00

8 lines
266 B
TypeScript

import type { Database } from "./database";
import type { Browser } from "./browser";
import { DmmBooks } from "./platforms/dmm-books";
export function createPlatform(opt: { db: Database; browser: Browser }) {
const platform = DmmBooks(opt);
return platform;
}