File tree Expand file tree Collapse file tree 2 files changed +21
-8
lines changed Expand file tree Collapse file tree 2 files changed +21
-8
lines changed Original file line number Diff line number Diff line change @@ -257,14 +257,6 @@ export interface CustomElement extends ClassLike {
257
257
* custom element class
258
258
*/
259
259
customElement : true ;
260
-
261
- // members?: Array<CustomElementMember>;
262
-
263
- /**
264
- * Whether the custom element is deprecated.
265
- * If the value is a string, it's the reason for the deprecation.
266
- */
267
- deprecated ?: boolean | string ;
268
260
}
269
261
270
262
export interface Attribute {
@@ -695,6 +687,12 @@ export interface FunctionLike {
695
687
*/
696
688
description ?: string ;
697
689
690
+ /**
691
+ * Whether the function is deprecated.
692
+ * If the value is a string, it's the reason for the deprecation.
693
+ */
694
+ deprecated ?: boolean | string ;
695
+
698
696
parameters ?: Parameter [ ] ;
699
697
700
698
return ?: {
Original file line number Diff line number Diff line change 155
155
},
156
156
"ClassMethod" : {
157
157
"properties" : {
158
+ "deprecated" : {
159
+ "description" : " Whether the function is deprecated.\n If the value is a string, it's the reason for the deprecation." ,
160
+ "type" : [
161
+ " string" ,
162
+ " boolean"
163
+ ]
164
+ },
158
165
"description" : {
159
166
"description" : " A markdown description." ,
160
167
"type" : " string"
597
604
},
598
605
"FunctionDeclaration" : {
599
606
"properties" : {
607
+ "deprecated" : {
608
+ "description" : " Whether the function is deprecated.\n If the value is a string, it's the reason for the deprecation." ,
609
+ "type" : [
610
+ " string" ,
611
+ " boolean"
612
+ ]
613
+ },
600
614
"description" : {
601
615
"description" : " A markdown description." ,
602
616
"type" : " string"
732
746
"type" : " string"
733
747
},
734
748
"path" : {
749
+ "description" : " Path to the javascript file needed to be imported. \n (not the path for example to a typescript file.)" ,
735
750
"type" : " string"
736
751
},
737
752
"summary" : {
You can’t perform that action at this time.
0 commit comments