@@ -49,7 +49,7 @@ export type ReferenceOverload = {
4949export type ReferenceOverloads = ReferenceOverload [ ] ;
5050
5151/* Represents the definition of a class within the project, including its properties, methods, and inheritance information. */
52- export interface ReferenceClassDefinition extends Chainable {
52+ export interface ReferenceClassDefinition extends Chainable , Deprecatable , MaybeBeta {
5353 name : string ; // The name of the class.
5454 shortname : string ; // A shorter or abbreviated name for the class.
5555 classitems : ReferenceParam [ ] ; // Parameters or properties of the class.
@@ -92,6 +92,10 @@ interface Chainable {
9292 chainable : number ;
9393}
9494
95+ interface Deprecatable {
96+ deprecated ?: string ; // If this item is deprecated, a description of why.
97+ }
98+
9599/* Represents the return value of a method or constructor */
96100interface Return {
97101 description : string ;
@@ -103,7 +107,7 @@ interface MaybeBeta {
103107}
104108
105109/* Represents a method within a class */
106- export interface ReferenceClassItemMethod extends BaseClassItem , Chainable , MaybeBeta {
110+ export interface ReferenceClassItemMethod extends BaseClassItem , Chainable , MaybeBeta , Deprecatable {
107111 params ?: ReferenceParam [ ] ;
108112 return ?: Return ;
109113 example ?: string [ ] ;
@@ -119,7 +123,7 @@ interface MethodOverload {
119123}
120124
121125/* Represents a property within a class */
122- export interface ReferenceClassItemProperty extends BaseClassItem {
126+ export interface ReferenceClassItemProperty extends BaseClassItem , Deprecatable {
123127 type : string ;
124128}
125129
0 commit comments