Upgrade dependencies (#101)
This commit is contained in:
parent
aeb3f74d65
commit
c842cc260f
4 changed files with 16 additions and 7 deletions
|
|
@ -278,8 +278,8 @@ is.typedArray = (value: unknown): value is TypedArray => {
|
|||
};
|
||||
|
||||
export interface ArrayLike<T> {
|
||||
readonly length: number;
|
||||
readonly [index: number]: T;
|
||||
readonly length: number;
|
||||
}
|
||||
|
||||
const isValidLength = (value: unknown): value is number => is.safeInteger(value) && value >= 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue