Skip to content

Commit

Permalink
fix: suppress lint violation
Browse files Browse the repository at this point in the history
  • Loading branch information
djcsdy committed Apr 21, 2019
1 parent 28cf26f commit a2d89b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const copy: <T>(array: ArrayLike<T>) => T[] =
const isArray: (value: any) => value is any[] =
Array.isArray == null
? ((value: any) => value instanceof Array) as any
: Array.isArray; // tslint: disable-line:no-unbound-method
: Array.isArray; // tslint:disable-line:no-unbound-method

export function coerce<T>(array: ArrayLike<T>): ReadonlyArray<T> {
return isArray(array)
Expand Down

0 comments on commit a2d89b0

Please sign in to comment.