8 lines
266 B
TypeScript
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;
|
|
}
|