@@ -99,8 +99,8 @@ function create_context<Store extends Readable, D extends DataType>(
99
99
shape : configuration . chunk_shape ,
100
100
codecs : configuration . codecs ,
101
101
} ) ,
102
- get_strides ( shape : number [ ] , order ?: "C" | "F" ) {
103
- return get_strides ( shape , order ?? native_order ) ;
102
+ get_strides ( shape : number [ ] ) {
103
+ return get_strides ( shape , native_order ) ;
104
104
} ,
105
105
get_chunk_bytes : create_sharded_chunk_getter (
106
106
location ,
@@ -121,8 +121,8 @@ function create_context<Store extends Readable, D extends DataType>(
121
121
shape : metadata . chunk_grid . configuration . chunk_shape ,
122
122
codecs : metadata . codecs ,
123
123
} ) ,
124
- get_strides ( shape : number [ ] , order ?: "C" | "F" ) {
125
- return get_strides ( shape , order ?? native_order ) ;
124
+ get_strides ( shape : number [ ] ) {
125
+ return get_strides ( shape , native_order ) ;
126
126
} ,
127
127
async get_chunk_bytes ( chunk_coords , options ) {
128
128
let chunk_key = shared_context . encode_chunk_key ( chunk_coords ) ;
@@ -142,7 +142,7 @@ interface ArrayContext<Store extends Readable, D extends DataType> {
142
142
/** The TypedArray constructor for this array chunks. */
143
143
TypedArray : TypedArrayConstructor < D > ;
144
144
/** A function to get the strides for a given shape, using the array order */
145
- get_strides ( shape : number [ ] , order ?: "C" | "F" ) : number [ ] ;
145
+ get_strides ( shape : number [ ] ) : number [ ] ;
146
146
/** The fill value for this array. */
147
147
fill_value : Scalar < D > | null ;
148
148
/** A function to get the bytes for a given chunk. */
0 commit comments