From 296a84b1039badb11ddc039a0501c8444f56b1b8 Mon Sep 17 00:00:00 2001 From: Vasya Aksyonov Date: Mon, 29 Jan 2018 13:02:42 +0500 Subject: [PATCH] IObservableArray find typing fix --- src/types/observablearray.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/observablearray.ts b/src/types/observablearray.ts index a75768f40..97e38a68c 100644 --- a/src/types/observablearray.ts +++ b/src/types/observablearray.ts @@ -54,7 +54,7 @@ export interface IObservableArray extends Array { predicate: (item: T, index: number, array: IObservableArray) => boolean, thisArg?: any, fromIndex?: number - ): T + ): T | undefined findIndex( predicate: (item: T, index: number, array: IObservableArray) => boolean, thisArg?: any,