Commit 4d46ee3 1 parent 24f7730 commit 4d46ee3 Copy full SHA for 4d46ee3
File tree 2 files changed +3
-3
lines changed
mesop/web/src/dev_tools/editor_panel
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ type Prefixes = Prefix[];
50
50
} )
51
51
export class EditorFields {
52
52
@Input ( )
53
- fields ! : EditorField [ ] ;
53
+ fields ! : readonly EditorField [ ] ;
54
54
55
55
@Input ( )
56
56
prefixes : Prefixes = [ ] ;
@@ -255,7 +255,7 @@ export class EditorFields {
255
255
return display ;
256
256
}
257
257
258
- getFieldsForListField ( field : EditorField ) : EditorField [ ] {
258
+ getFieldsForListField ( field : EditorField ) : readonly EditorField [ ] {
259
259
return (
260
260
field
261
261
. getType ( ) !
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ export class EditorPanel {
120
120
) ;
121
121
}
122
122
123
- getFields ( ) : EditorField [ ] {
123
+ getFields ( ) : readonly EditorField [ ] {
124
124
return this . getComponentConfig ( ) ?. getFieldsList ( ) ?? [ ] ;
125
125
}
126
126
You can’t perform that action at this time.
0 commit comments