Skip to content

Commit 9311f12

Browse files
committed
use string as type
1 parent 55f7c2a commit 9311f12

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

projects/fusio-sdk/src/lib/component/form/list/form-list.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ export class FormListComponent implements OnInit {
1111
@Input() name!: string;
1212
@Input() disabled: boolean = false;
1313
@Input() type: string = 'text';
14-
@Input() data: Array<any> = [];
14+
@Input() data: Array<string> = [];
1515
@Input() service?: Service<any>;
16-
@Output() dataChange = new EventEmitter<Array<any>>();
16+
@Output() dataChange = new EventEmitter<Array<string>>();
1717

1818
local: Array<any> = [];
1919
newValue: any = '';

projects/fusio-sdk/src/lib/component/form/map/form-map.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ export class FormMapComponent implements OnInit {
1111
@Input() name!: string;
1212
@Input() disabled: boolean = false;
1313
@Input() type: string = 'text';
14-
@Input() data: Record<string, any> = {};
14+
@Input() data: Record<string, string> = {};
1515
@Input() service?: Service<any>;
16-
@Output() dataChange = new EventEmitter<Record<string, any>>();
16+
@Output() dataChange = new EventEmitter<Record<string, string>>();
1717

1818
local: Array<Entry> = [];
1919
newKey: string = '';

0 commit comments

Comments
 (0)