From d64cd45e9656dfa821b611dbfd451daa0b64ecc3 Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Thu, 16 Jun 2016 16:05:59 +0200 Subject: [PATCH] Add generic version of Array.isArray --- src/typings/lib.array-ext.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/typings/lib.array-ext.d.ts diff --git a/src/typings/lib.array-ext.d.ts b/src/typings/lib.array-ext.d.ts new file mode 100644 index 00000000000..59e1c0fc956 --- /dev/null +++ b/src/typings/lib.array-ext.d.ts @@ -0,0 +1,8 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ + +interface ArrayConstructor { + isArray(arg: any): arg is Array; +} \ No newline at end of file