Skip to content

Commit 2893202

Browse files
committed
add explicit return type
1 parent 062d2f1 commit 2893202

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

apps/api/src/instrument-records/instrument-records.service.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,10 @@ export class InstrumentRecordsService {
132132
return this.instrumentRecordModel.exists(where);
133133
}
134134

135-
async exportRecords({ groupId }: { groupId?: string } = {}, { ability }: Required<EntityOperationOptions>) {
135+
async exportRecords(
136+
{ groupId }: { groupId?: string } = {},
137+
{ ability }: Required<EntityOperationOptions>
138+
): Promise<InstrumentRecordsExport> {
136139
const records = await this.queryRecordsRaw(ability, groupId);
137140

138141
const instrumentIds = new Set(records.map((r) => r.instrumentId));

0 commit comments

Comments
 (0)