File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Sources/Common/DataModel/DataSetAttributes Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
import { vtkObject } from "../../../interfaces" ;
2
2
import { Nullable } from "../../../types" ;
3
- import vtkDataArray from "../../Core/DataArray" ;
3
+ import type vtkDataArray from "../../Core/DataArray" ;
4
4
5
5
/**
6
6
*
7
7
*/
8
8
export interface IFieldDataInitialValues {
9
- arrays ?: Array < any > ;
9
+ arrays ?: vtkDataArray [ ] ;
10
10
copyFieldFlags ?: Array < any > ;
11
11
doCopyAllOn ?: boolean ;
12
12
doCopyAllOff ?: boolean ;
@@ -16,7 +16,7 @@ export interface IFieldDataInitialValues {
16
16
*
17
17
*/
18
18
interface IArrayWithIndex {
19
- array : any ,
19
+ array : vtkDataArray ,
20
20
index : number ;
21
21
}
22
22
@@ -75,13 +75,13 @@ export interface vtkFieldData extends vtkObject {
75
75
/**
76
76
* Get all arrays.
77
77
*/
78
- getArrays ( ) : any ;
78
+ getArrays ( ) : vtkDataArray [ ] ;
79
79
80
80
/**
81
81
*
82
- * @param {any } arraySpec
82
+ * @param {number | string } arraySpec index or name of the array
83
83
*/
84
- getArray ( arraySpec : any ) : void ;
84
+ getArray ( arraySpec : number | string ) : Nullable < vtkDataArray > ;
85
85
86
86
/**
87
87
* Get an array by its name.
@@ -99,7 +99,7 @@ export interface vtkFieldData extends vtkObject {
99
99
* Get an array by its index.
100
100
* @param {Number } idx The index of the array.
101
101
*/
102
- getArrayByIndex ( idx : number ) : Nullable < any > ;
102
+ getArrayByIndex ( idx : number ) : Nullable < vtkDataArray > ;
103
103
104
104
/**
105
105
* Return true if there exists an array with the given arraName. False otherwise.
You can’t perform that action at this time.
0 commit comments