@@ -28,20 +28,20 @@ import circshift = require( './index' );
2828
2929// The function returns an ndarray...
3030{
31- circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'float64' } ) , 2 ) ; // $ExpectType float64ndarray
32- circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'float64' } ) , 2 , { } ) ; // $ExpectType float64ndarray
33- circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'float32' } ) , 2 ) ; // $ExpectType float32ndarray
34- circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'float32' } ) , 2 , { } ) ; // $ExpectType float32ndarray
35- circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'int32' } ) , 2 ) ; // $ExpectType int32ndarray
36- circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'int32' } ) , 2 , { } ) ; // $ExpectType int32ndarray
37- circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'complex128' } ) , 2 ) ; // $ExpectType complex128ndarray
38- circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'complex128' } ) , 2 , { } ) ; // $ExpectType complex128ndarray
39- circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'complex64' } ) , 2 ) ; // $ExpectType complex64ndarray
40- circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'complex64' } ) , 2 , { } ) ; // $ExpectType complex64ndarray
41- circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'bool' } ) , 2 ) ; // $ExpectType boolndarray
42- circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'bool' } ) , 2 , { } ) ; // $ExpectType boolndarray
43- circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'generic' } ) , 2 ) ; // $ExpectType genericndarray<number>
44- circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'generic' } ) , 2 , { } ) ; // $ExpectType genericndarray<number>
31+ circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'float64' } ) , 2 ) ; // $ExpectType float64ndarray
32+ circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'float64' } ) , 2 , { } ) ; // $ExpectType float64ndarray
33+ circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'float32' } ) , 2 ) ; // $ExpectType float32ndarray
34+ circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'float32' } ) , 2 , { } ) ; // $ExpectType float32ndarray
35+ circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'int32' } ) , 2 ) ; // $ExpectType int32ndarray
36+ circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'int32' } ) , 2 , { } ) ; // $ExpectType int32ndarray
37+ circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'complex128' } ) , 2 ) ; // $ExpectType complex128ndarray
38+ circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'complex128' } ) , 2 , { } ) ; // $ExpectType complex128ndarray
39+ circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'complex64' } ) , 2 ) ; // $ExpectType complex64ndarray
40+ circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'complex64' } ) , 2 , { } ) ; // $ExpectType complex64ndarray
41+ circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'bool' } ) , 2 ) ; // $ExpectType boolndarray
42+ circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'bool' } ) , 2 , { } ) ; // $ExpectType boolndarray
43+ circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'generic' } ) , 2 ) ; // $ExpectType genericndarray<number>
44+ circshift ( empty ( [ 2 , 2 ] , { 'dtype' : 'generic' } ) , 2 , { } ) ; // $ExpectType genericndarray<number>
4545}
4646
4747// The compiler throws an error if the function is provided a first argument which is not an ndarray...
0 commit comments