build: Use prettier for typescript
Stop ignoring .ts files in prettier and fix existing issues.
This commit is contained in:
@@ -8,9 +8,8 @@ describe('RevertTransactionComponent', () => {
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ RevertTransactionComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
declarations: [RevertTransactionComponent]
|
||||
}).compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
|
||||
@@ -12,7 +12,6 @@ import { UntypedFormControl } from '@angular/forms';
|
||||
styleUrls: ['./revert-transaction.component.scss']
|
||||
})
|
||||
export class RevertTransactionComponent {
|
||||
|
||||
/** Comments input form control. */
|
||||
comments = new UntypedFormControl('');
|
||||
|
||||
@@ -20,7 +19,8 @@ export class RevertTransactionComponent {
|
||||
* @param {MatDialogRef} dialogRef Component reference to dialog.
|
||||
* @param {any} data Provides comments or reverted transaction ID.
|
||||
*/
|
||||
constructor(public dialogRef: MatDialogRef<RevertTransactionComponent>,
|
||||
@Inject(MAT_DIALOG_DATA) public data: any) { }
|
||||
|
||||
constructor(
|
||||
public dialogRef: MatDialogRef<RevertTransactionComponent>,
|
||||
@Inject(MAT_DIALOG_DATA) public data: any
|
||||
) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user