From 26567d5ffcc2f19b70b8897c5d9c3171a74193e5 Mon Sep 17 00:00:00 2001 From: Simon Brown Date: Sun, 5 Jan 2020 11:14:45 +0000 Subject: [PATCH] removed redeclarations so it works with https://github.com/ten-A/Types-for-Adobe --- Array.d.ts | 2 -- Object.d.ts | 5 ----- index.d.ts | 6 ------ 3 files changed, 13 deletions(-) diff --git a/Array.d.ts b/Array.d.ts index 603f884..acdcd1f 100644 --- a/Array.d.ts +++ b/Array.d.ts @@ -120,5 +120,3 @@ interface Array { */ some(callbackfn: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean; } - -declare var Array: ArrayConstructor; \ No newline at end of file diff --git a/Object.d.ts b/Object.d.ts index 0af6f08..413c981 100644 --- a/Object.d.ts +++ b/Object.d.ts @@ -120,8 +120,3 @@ interface ObjectConstructor { */ seal(o: T): T; } - -/** - * Provides functionality common to all JavaScript objects. - */ -declare var Object: ObjectConstructor; diff --git a/index.d.ts b/index.d.ts index 71b8232..8c2948d 100644 --- a/index.d.ts +++ b/index.d.ts @@ -122,7 +122,6 @@ interface Array { some(callbackfn: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean; } -declare var Array: ArrayConstructor; // Function.d.ts /** @@ -287,11 +286,6 @@ interface ObjectConstructor { seal(o: T): T; } -/** - * Provides functionality common to all JavaScript objects. - */ -declare var Object: ObjectConstructor; - // Date.d.ts /** Enables basic storage and retrieval of dates and times. */