Ok so the error is telling me that the property for 'popStackFrame' is missing from the 'AssertionError' class. Here is the class definition:
export class AssertionError implements Error {
name: string;
message: string;
actual: any;
expected: any;
operator: string;
generatedMessage: boolean;
constructor(options?: {
message?: string; actual?: any; expected?: any;
operator?: string; stackStartFunction?: Function
});
}
So I've altered the class to look like this with the extra line
export class AssertionError implements Error {
name: string;
message: string;
actual: any;
expected: any;
operator: string;
generatedMessage: boolean;
popStackFrame: any;
constructor(options?: {
message?: string; actual?: any; expected?: any;
operator?: string; stackStartFunction?: Function
});
}
The code now compiles ok.