diff --git a/common/js/types.d.ts b/common/js/types.d.ts index 153d20b7d..44a15fc75 100644 --- a/common/js/types.d.ts +++ b/common/js/types.d.ts @@ -685,7 +685,7 @@ export interface AnySongDocument extends MongoDBDocument { */ version: string[]; } -export interface SongDocument extends MongoDBDocument { +export interface SongDocument extends AnySongDocument { data: SongDocumentData[G]; } export interface FolderDocument extends MongoDBDocument { diff --git a/common/src/types.ts b/common/src/types.ts index 6c1278bc6..6eadf3bda 100644 --- a/common/src/types.ts +++ b/common/src/types.ts @@ -856,7 +856,7 @@ export interface AnySongDocument extends MongoDBDocument { version: string[]; } -export interface SongDocument extends MongoDBDocument { +export interface SongDocument extends AnySongDocument { data: SongDocumentData[G]; }