@@ -73,7 +73,7 @@ declare module Sdk
73
73
* Adds a string array of column names.
74
74
* @param columns A string array of column names.
75
75
*/
76
- addColumns ( columns : Array < string > ) ;
76
+ addColumns ( columns : Array < string > ) : void ;
77
77
78
78
/**
79
79
* Sets the AllColumns property.
@@ -141,7 +141,7 @@ declare module Sdk
141
141
* Adds an array of objects to the collection.
142
142
* @param items An array of items to add to the collection.
143
143
*/
144
- addRange ( items ) : void ;
144
+ addRange ( items : T [ ] ) : void ;
145
145
146
146
/**
147
147
* Removes all items from the collection.
@@ -158,7 +158,7 @@ declare module Sdk
158
158
* Applies the action contained within a delegate function.
159
159
* @param fn Delegate function with parameters for item and index.
160
160
*/
161
- forEach ( fn : ( item : T , index : number ) => any ) ;
161
+ forEach ( fn : ( item : T , index : number ) => any ) : void ;
162
162
163
163
/**
164
164
* Gets the item in the collection at the specified index.
@@ -279,7 +279,7 @@ declare module Sdk
279
279
* Sets whether the results of the query exceeds the total record count.
280
280
* @param totalRecordCountLimitExceeded Whether the results of the query exceeds the total record count.
281
281
*/
282
- setTotalRecordCountLimitExceeded ( totalRecordCountLimitExceeded : boolean ) ;
282
+ setTotalRecordCountLimitExceeded ( totalRecordCountLimitExceeded : boolean ) : void ;
283
283
284
284
/**
285
285
* XML definition of an the child nodes of an entity.
@@ -318,7 +318,7 @@ declare module Sdk
318
318
* Removes an entity reference to the collection.
319
319
* @param entityReference The entity reference to remove.
320
320
*/
321
- remove ( entityReference : Sdk . EntityReference ) ;
321
+ remove ( entityReference : Sdk . EntityReference ) : void ;
322
322
323
323
/**
324
324
* Returns a view of the data in an entity reference collection instance.
@@ -455,15 +455,15 @@ declare module Sdk
455
455
/**
456
456
* Internal Use Only
457
457
*/
458
- setValidValue ( value ) ;
458
+ setValidValue ( value : any ) : void ;
459
459
460
460
461
461
/// prototype methods
462
462
463
463
/**
464
464
* XML node for Attribute.
465
465
*/
466
- toXml ( action ) : string ;
466
+ toXml ( action : string ) : string ;
467
467
}
468
468
469
469
class Boolean extends AttributeBase
@@ -750,7 +750,7 @@ declare module Sdk
750
750
* Sets the collection of attributes for the entity.
751
751
* @param attributes The collection of attributes for the entity.
752
752
*/
753
- setAttributes ( attributes : Sdk . AttributeCollection ) ;
753
+ setAttributes ( attributes : Sdk . AttributeCollection ) : void ;
754
754
755
755
/**
756
756
* Gets the state of the entity.
@@ -795,7 +795,7 @@ declare module Sdk
795
795
* Sets the logical name of the entity.
796
796
* @param type The logical name of the entity.
797
797
*/
798
- setType ( type ) : void ;
798
+ setType ( type : string ) : void ;
799
799
800
800
/**
801
801
* Gets a collection of related entities.
@@ -813,7 +813,7 @@ declare module Sdk
813
813
* @param attribute The attribute to add
814
814
* @param isChanged Whether the attribute should be considered changed, the default is true.
815
815
*/
816
- addAttribute ( attribute : Sdk . AttributeBase , isChanged ?: boolean ) ;
816
+ addAttribute ( attribute : Sdk . AttributeBase , isChanged ?: boolean ) : void ;
817
817
818
818
/**
819
819
* Adds an entity to the related entities.
@@ -831,7 +831,7 @@ declare module Sdk
831
831
* Sets the value to indicate whether data for the entity has changed.
832
832
* @param isChanged The value to indicate whether data for the entity has changed.
833
833
*/
834
- setIsChanged ( isChanged : boolean ) ;
834
+ setIsChanged ( isChanged : boolean ) : void ;
835
835
836
836
/**
837
837
* Gets the value of the specified attribute.
@@ -842,7 +842,7 @@ declare module Sdk
842
842
/**
843
843
* Generates properties for the entity based on metadata.
844
844
*/
845
- initializeSubClass ( metadata ) ;
845
+ initializeSubClass ( metadata ) : void ;
846
846
847
847
/**
848
848
* Sets the value of the specified attribute.
0 commit comments