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 11import { vtkObject } from "../../../interfaces" ;
22import { Nullable } from "../../../types" ;
3- import vtkDataArray from "../../Core/DataArray" ;
3+ import type vtkDataArray from "../../Core/DataArray" ;
44
55/**
66 *
77 */
88export interface IFieldDataInitialValues {
9- arrays ?: Array < any > ;
9+ arrays ?: vtkDataArray [ ] ;
1010 copyFieldFlags ?: Array < any > ;
1111 doCopyAllOn ?: boolean ;
1212 doCopyAllOff ?: boolean ;
@@ -16,7 +16,7 @@ export interface IFieldDataInitialValues {
1616 *
1717 */
1818interface IArrayWithIndex {
19- array : any ,
19+ array : vtkDataArray ,
2020 index : number ;
2121}
2222
@@ -75,13 +75,13 @@ export interface vtkFieldData extends vtkObject {
7575 /**
7676 * Get all arrays.
7777 */
78- getArrays ( ) : any ;
78+ getArrays ( ) : vtkDataArray [ ] ;
7979
8080 /**
8181 *
82- * @param {any } arraySpec
82+ * @param {number | string } arraySpec index or name of the array
8383 */
84- getArray ( arraySpec : any ) : void ;
84+ getArray ( arraySpec : number | string ) : Nullable < vtkDataArray > ;
8585
8686 /**
8787 * Get an array by its name.
@@ -99,7 +99,7 @@ export interface vtkFieldData extends vtkObject {
9999 * Get an array by its index.
100100 * @param {Number } idx The index of the array.
101101 */
102- getArrayByIndex ( idx : number ) : Nullable < any > ;
102+ getArrayByIndex ( idx : number ) : Nullable < vtkDataArray > ;
103103
104104 /**
105105 * 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