misskey-awawa/src/api/models/favorite.ts

4 lines
103 B
TypeScript

import db from '../../db/mongodb';
export default db.get('favorites') as any; // fuck type definition