This commit is contained in:
syuilo 2018-03-28 13:16:52 +09:00
parent 020819a125
commit 00e4ad08dd

View file

@ -1,7 +1,8 @@
import db from '../../db/mongodb'; import db from '../../db/mongodb';
export default db.get('meta') as any; // fuck type definition const Meta = db.get<IMeta>('meta');
export default Meta;
export type IMeta = { export type IMeta = {
top_image: string; broadcasts: any[];
}; };