Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
getter( 'uint16' ); // $ExpectType GetUint16
getter( 'uint8' ); // $ExpectType GetUint8
getter( 'uint8c' ); // $ExpectType GetUint8c
getter<any>( 'generic' ); // $ExpectType GetGeneric<any>

Check warning on line 37 in lib/node_modules/@stdlib/array/base/getter/docs/types/test.ts

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected any. Specify a different type
getter<number>( 'foo' ); // $ExpectType GetArrayLike<number>
}

Expand Down Expand Up @@ -71,7 +71,7 @@

const get4 = getter( 'float16' );
const x4 = new Float16Array( [ 1, 2, 3, 4 ] );
get4( x4 , 2 ); // $ExpectType number | void
get4( x4, 2 ); // $ExpectType number | void

const get5 = getter( 'int32' );
const x5 = new Int32Array( [ 1, 2, 3, 4 ] );
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/**
/**
* @license Apache-2.0
*
* Copyright (c) 2026 The Stdlib Authors.
Expand Down
Loading