You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeScript 0.9.5 beta does not allow generic type references without the type argument. This code will still compile for 0.9.1 users. Flight and Ember have further compile problems in 0.9.5 that I don't feel qualified to address as I'm not versed in those libraries.
Copy file name to clipboardExpand all lines: goJS/goJS.d.ts
+13-13
Original file line number
Diff line number
Diff line change
@@ -2102,7 +2102,7 @@ declare module go {
2102
2102
defaultAlignment: Spot;
2103
2103
2104
2104
/**Gets or sets the default dash array for a particular column's separator.*/
2105
-
defaultColumnSeparatorDashArray: Array;
2105
+
defaultColumnSeparatorDashArray: any[];
2106
2106
2107
2107
/**Gets or sets the default Brush stroke (or CSS color string) for columns in a Table Panel provided a given column has a nonzero RowColumnDefinition#separatorStrokeWidth.*/
2108
2108
defaultColumnSeparatorStroke: any;
@@ -2111,7 +2111,7 @@ declare module go {
2111
2111
defaultColumnSeparatorStrokeWidth: number;
2112
2112
2113
2113
/**Gets or sets the default dash array for a particular row's separator.*/
2114
-
defaultRowSeparatorDashArray: Array;
2114
+
defaultRowSeparatorDashArray: any[];
2115
2115
2116
2116
/**Gets or sets the default Brush stroke (or CSS color string) for rows in a Table Panel provided a given row has a nonzero RowColumnDefinition#separatorStrokeWidth.*/
2117
2117
defaultRowSeparatorStroke: any;
@@ -2135,7 +2135,7 @@ declare module go {
2135
2135
gridOrigin: Point;
2136
2136
2137
2137
/**Gets or sets a JavaScript Array of values or objects, each of which will be represented by a Panel as elements in this Panel.*/
2138
-
itemArray: Array;
2138
+
itemArray: any[];
2139
2139
2140
2140
/**Gets or sets the name of the item data property that returns a string describing that data's category, or a function that takes an item data object and returns that string; the default value is the name 'category'.*/
2141
2141
itemCategoryProperty: any;
@@ -2690,7 +2690,7 @@ declare module go {
2690
2690
position: number;
2691
2691
2692
2692
/**Gets or sets the dash array for dashing the spacing provided this row or column has a nonzero RowColumnDefinition#separatorStrokeWidth and non-null RowColumnDefinition#separatorStroke.*/
2693
-
separatorDashArray: Array;
2693
+
separatorDashArray: any[];
2694
2694
2695
2695
/**Gets or sets the additional padding for a particular row or column, a Margin (or number for a uniform Margin).*/
2696
2696
separatorPadding: any;
@@ -2787,7 +2787,7 @@ declare module go {
2787
2787
strokeCap: string;
2788
2788
2789
2789
/**Gets or sets the dash array for creating dashed lines.*/
2790
-
strokeDashArray: Array;
2790
+
strokeDashArray: any[];
2791
2791
2792
2792
/**Gets or sets the offset for dashed lines, used in the phase pattern.*/
2793
2793
strokeDashOffset: number;
@@ -4547,7 +4547,7 @@ declare module go {
4547
4547
* @param {Array} arr an Array that is the value of some Panel's Panel#itemArray.
4548
4548
* @param {*} val the new value to be pushed onto the array.
4549
4549
*/
4550
-
addArrayItem(arr: Array,val: any);
4550
+
addArrayItem(arr: any[],val: any);
4551
4551
4552
4552
/**
4553
4553
* Register an event handler that is called when there is a ChangedEvent.
@@ -4633,7 +4633,7 @@ declare module go {
4633
4633
* @param {number} idx the zero-based array index where the new value will be inserted; use -1 to push the new value on the end of the array.
4634
4634
* @param {*} val the new value to be inserted into the array.
4635
4635
*/
4636
-
insertArrayItem(arr: Array,idx: number,val: any);
4636
+
insertArrayItem(arr: any[],idx: number,val: any);
4637
4637
4638
4638
/**
4639
4639
* This method is called when a node data object is added to the model to make sure that
@@ -4689,7 +4689,7 @@ declare module go {
4689
4689
* @param {number=} idx the zero-based array index of the data item to be removed from the array;
4690
4690
* if not supplied it will remove the last item of the array.
4691
4691
*/
4692
-
removeArrayItem(arr: Array,idx?: number);
4692
+
removeArrayItem(arr: any[],idx?: number);
4693
4693
4694
4694
/**
4695
4695
* Unregister an event handler listener.
@@ -6283,7 +6283,7 @@ declare module go {
6283
6283
childPortSpot: Spot;
6284
6284
6285
6285
/**Gets or sets the logical children for this node.*/
6286
-
children: Array;
6286
+
children: any[];
6287
6287
6288
6288
/**Gets the number of immediate children this node has.*/
6289
6289
childrenCount: number;
@@ -6292,7 +6292,7 @@ declare module go {
6292
6292
commentMargin: number;
6293
6293
6294
6294
/**Gets or sets an array of Nodes that will be positioned near this node.*/
6295
-
comments: Array;
6295
+
comments: any[];
6296
6296
6297
6297
/**Gets or sets the space to leave between consecutive comments.*/
6298
6298
commentSpacing: number;
@@ -7924,7 +7924,7 @@ declare module go {
7924
7924
/**
7925
7925
* Produces a JavaScript Array from the contents of this List.
7926
7926
*/
7927
-
toArray(): Array;
7927
+
toArray(): any[];
7928
7928
7929
7929
/**
7930
7930
* Converts the List to a Set.
@@ -8013,7 +8013,7 @@ declare module go {
8013
8013
/**
8014
8014
* Produces a JavaScript Array of key/value pair objects from the contents of this Map.
8015
8015
*/
8016
-
toArray(): Array;
8016
+
toArray(): any[];
8017
8017
8018
8018
/**
8019
8019
* Produces a Set that provides a read-only view onto the keys of this Map.
@@ -8109,7 +8109,7 @@ declare module go {
8109
8109
/**
8110
8110
* Produces a JavaScript Array from the contents of this Set.
0 commit comments