File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -552,6 +552,11 @@ export interface PropertyLike {
552552 * If the value is a string, it's the reason for the deprecation.
553553 */
554554 deprecated ?: boolean | string ;
555+
556+ /**
557+ * Whether the property is read-only.
558+ */
559+ readonly ?: boolean ;
555560}
556561
557562export interface ClassField extends PropertyLike {
Original file line number Diff line number Diff line change 133133 "privacy" : {
134134 "$ref" : " #/definitions/Privacy"
135135 },
136+ "readonly" : {
137+ "description" : " Whether the property is read-only." ,
138+ "type" : " boolean"
139+ },
136140 "source" : {
137141 "$ref" : " #/definitions/SourceReference"
138142 },
881885 "description" : " Whether the parameter is optional. Undefined implies non-optional." ,
882886 "type" : " boolean"
883887 },
888+ "readonly" : {
889+ "description" : " Whether the property is read-only." ,
890+ "type" : " boolean"
891+ },
884892 "rest" : {
885893 "description" : " Whether the parameter is a rest parameter. Only the last parameter may be a rest parameter.\n Undefined implies single parameter." ,
886894 "type" : " boolean"
10351043 "name" : {
10361044 "type" : " string"
10371045 },
1046+ "readonly" : {
1047+ "description" : " Whether the property is read-only." ,
1048+ "type" : " boolean"
1049+ },
10381050 "source" : {
10391051 "$ref" : " #/definitions/SourceReference"
10401052 },
You can’t perform that action at this time.
0 commit comments