import { RunDuration } from '../run-duration';
import { MongooseRunStatus } from '../mongoose-run-status';

export class MongooseRunRecord { 

    constructor(status: MongooseRunStatus,  startTime: String, Nodes: String[],  duration: RunDuration, comment: String) { }

}
import { RunDuration } from '../run-duration';
import { MongooseRunStatus } from '../mongoose-run-status';

export interface MongooseRunRecord { 
    status: MongooseRunStatus; 
    startTime: String;
    Nodes: String[]; 
    Duration: RunDuration; 
    comment: String;
}
--- 
+++ 
@@ -1,10 +1,8 @@
 import { RunDuration } from '../run-duration';
 import { MongooseRunStatus } from '../mongoose-run-status';
 
-export interface MongooseRunRecord { 
-    status: MongooseRunStatus; 
-    startTime: String;
-    Nodes: String[]; 
-    Duration: RunDuration; 
-    comment: String;
+export class MongooseRunRecord { 
+
+    constructor(status: MongooseRunStatus,  startTime: String, Nodes: String[],  duration: RunDuration, comment: String) { }
+
 }
Replace type of MongooseRunRecord from interface to class.
