chore(ui): clear eslint empty object type bucket
Replace empty object placeholder parameters in dialog helpers with object types so the intent stays object-shaped without relying on the permissive {} type.
Validation: just ui lint
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ export class BookDialogHelperService {
|
||||
|
||||
private dialogLauncherService = inject(DialogLauncherService);
|
||||
|
||||
private openDialog(component: unknown, options: {}): DynamicDialogRef | null {
|
||||
private openDialog(component: unknown, options: object): DynamicDialogRef | null {
|
||||
return this.dialogLauncherService.openDialog(component, options);
|
||||
}
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ export class DialogLauncherService {
|
||||
maximizable: false,
|
||||
}
|
||||
|
||||
openDialog(component: unknown, options: {}): DynamicDialogRef | null {
|
||||
openDialog(component: unknown, options: object): DynamicDialogRef | null {
|
||||
return this.dialogService.open(component as Type<any>, {
|
||||
...this.defaultDialogOptions,
|
||||
...options,
|
||||
|
||||
Reference in New Issue
Block a user