build: Use prettier for typescript

Stop ignoring .ts files in prettier and fix existing issues.
This commit is contained in:
Ralph Hopman
2025-01-15 11:59:30 +00:00
committed by Adam Saghy
parent 9d6cf1514a
commit cac1d11ad7
1812 changed files with 22516 additions and 16862 deletions
@@ -1,31 +1,29 @@
/** Report Parameter Model */
export class ReportParameter {
name: string;
variable: string;
label: string;
displayType: string;
formatType: string;
defaultVal: any;
selectOne: any;
selectAll: any;
parentParameterName: string;
inputName: string;
selectOptions: any[] = [];
childParameters: any[] = [];
pentahoName: any;
name: string;
variable: string;
label: string;
displayType: string;
formatType: string;
defaultVal: any;
selectOne: any;
selectAll: any;
parentParameterName: string;
inputName: string;
selectOptions: any[] = [];
childParameters: any[] = [];
pentahoName: any;
constructor(options: any[]) {
this.name = options[0];
this.variable = options[1];
this.label = options[2];
this.displayType = options[3];
this.formatType = options[4];
this.defaultVal = options[5];
this.selectOne = options[6];
this.selectAll = options[7];
this.parentParameterName = options[8];
this.inputName = `R_${options[1]}`;
}
constructor(options: any[]) {
this.name = options[0];
this.variable = options[1];
this.label = options[2];
this.displayType = options[3];
this.formatType = options[4];
this.defaultVal = options[5];
this.selectOne = options[6];
this.selectAll = options[7];
this.parentParameterName = options[8];
this.inputName = `R_${options[1]}`;
}
}