mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 21:01:34 +08:00
Adding void return statements
This commit is contained in:

committed by
Vladimir Enchev

parent
7d948265f3
commit
69e651bb43
8
ui/layouts/grid-layout/grid-layout.d.ts
vendored
8
ui/layouts/grid-layout/grid-layout.d.ts
vendored
@ -119,12 +119,12 @@
|
|||||||
/**
|
/**
|
||||||
* Adds a column specification to a GridLayout.
|
* Adds a column specification to a GridLayout.
|
||||||
*/
|
*/
|
||||||
public addColumn(itemSpec: ItemSpec);
|
public addColumn(itemSpec: ItemSpec): void;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds a row specification to a GridLayout.
|
* Adds a row specification to a GridLayout.
|
||||||
*/
|
*/
|
||||||
public addRow(itemSpec: ItemSpec);
|
public addRow(itemSpec: ItemSpec): void;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removes a column specification from a GridLayout.
|
* Removes a column specification from a GridLayout.
|
||||||
@ -134,7 +134,7 @@
|
|||||||
/**
|
/**
|
||||||
* Removes all columns specification from a GridLayout.
|
* Removes all columns specification from a GridLayout.
|
||||||
*/
|
*/
|
||||||
removeColumns(): void;
|
public removeColumns(): void;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removes a row specification from a GridLayout.
|
* Removes a row specification from a GridLayout.
|
||||||
@ -144,7 +144,7 @@
|
|||||||
/**
|
/**
|
||||||
* Removes all rows specification from a GridLayout.
|
* Removes all rows specification from a GridLayout.
|
||||||
*/
|
*/
|
||||||
removeRows(): void;
|
public removeRows(): void;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets array of column specifications defined on this instance of GridLayout.
|
* Gets array of column specifications defined on this instance of GridLayout.
|
||||||
|
@ -12,7 +12,7 @@ export class GridLayout extends common.GridLayout {
|
|||||||
|
|
||||||
protected onRowAdded(itemSpec: common.ItemSpec) {
|
protected onRowAdded(itemSpec: common.ItemSpec) {
|
||||||
this.invalidate();
|
this.invalidate();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected onColumnAdded(itemSpec: common.ItemSpec) {
|
protected onColumnAdded(itemSpec: common.ItemSpec) {
|
||||||
this.invalidate();
|
this.invalidate();
|
||||||
|
Reference in New Issue
Block a user