File tree 2 files changed +17
-0
lines changed
2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -552,6 +552,11 @@ export interface PropertyLike {
552
552
* If the value is a string, it's the reason for the deprecation.
553
553
*/
554
554
deprecated ?: boolean | string ;
555
+
556
+ /**
557
+ * Whether the property is read-only.
558
+ */
559
+ readonly ?: boolean ;
555
560
}
556
561
557
562
export interface ClassField extends PropertyLike {
Original file line number Diff line number Diff line change 133
133
"privacy" : {
134
134
"$ref" : " #/definitions/Privacy"
135
135
},
136
+ "readonly" : {
137
+ "description" : " Whether the property is read-only." ,
138
+ "type" : " boolean"
139
+ },
136
140
"source" : {
137
141
"$ref" : " #/definitions/SourceReference"
138
142
},
881
885
"description" : " Whether the parameter is optional. Undefined implies non-optional." ,
882
886
"type" : " boolean"
883
887
},
888
+ "readonly" : {
889
+ "description" : " Whether the property is read-only." ,
890
+ "type" : " boolean"
891
+ },
884
892
"rest" : {
885
893
"description" : " Whether the parameter is a rest parameter. Only the last parameter may be a rest parameter.\n Undefined implies single parameter." ,
886
894
"type" : " boolean"
1035
1043
"name" : {
1036
1044
"type" : " string"
1037
1045
},
1046
+ "readonly" : {
1047
+ "description" : " Whether the property is read-only." ,
1048
+ "type" : " boolean"
1049
+ },
1038
1050
"source" : {
1039
1051
"$ref" : " #/definitions/SourceReference"
1040
1052
},
You can’t perform that action at this time.
0 commit comments