calckey/src/api/models/appdata.ts

4 lines
101 B
TypeScript

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