I have the following class definition:
export class TechnicalContactInfo {
constructor(){
this.Communication = [];
}
/** @description ContactFunctionCode */PER01;
/** @description ContactName */PER02;
/** @description Communication */Communication: Communication[];
}
When I try to create an object of it like this:
var TechnicalContactInfo:TechnicalContactInfo = new TechnicalContactInfo();
I am encountering the following error:
[ts] Cannot use 'new' with an expression whose type lacks a call or construct signature.
Could someone assist me in identifying the reason behind this issue?