From 60c337b6f3585d1f08968e6fe22c1cdba1535b5c Mon Sep 17 00:00:00 2001 From: sczerniawski <39490863+sczerniawski@users.noreply.github.com> Date: Wed, 6 Feb 2019 14:55:32 +0100 Subject: [PATCH] Remove incomplete declaration of Array#filter. (#6858) It is no longer necessary. Fixes #6854. --- tns-core-modules/tns-core-modules.d.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tns-core-modules/tns-core-modules.d.ts b/tns-core-modules/tns-core-modules.d.ts index 3e5b0b7ef..495b0ee5b 100644 --- a/tns-core-modules/tns-core-modules.d.ts +++ b/tns-core-modules/tns-core-modules.d.ts @@ -153,10 +153,6 @@ declare class WeakRef { clear(): void; } -interface Array { - filter(pred: (a: T) => a is U): U[]; -} - //Dialogs declare function alert(message?: any): void; declare function confirm(message?: string): boolean;