type param
This commit is contained in:
parent
3bcef9cccc
commit
1b8d7354fe
@ -48,7 +48,7 @@ export interface LNURLTipProps {
|
||||
author?: HexKey;
|
||||
}
|
||||
|
||||
function chunks(arr: any[], length: number) {
|
||||
function chunks<T>(arr: T[], length: number) {
|
||||
const result = [];
|
||||
let idx = 0;
|
||||
let n = arr.length / length;
|
||||
|
Loading…
x
Reference in New Issue
Block a user