Upgrade dependencies (#101)

This commit is contained in:
Joel Purra 2020-01-21 17:56:44 +01:00 committed by Sindre Sorhus
parent aeb3f74d65
commit c842cc260f
4 changed files with 16 additions and 7 deletions

View file

@ -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;