From 2c4e00087ab422b72843c4ccbe39bd5e14ed01d0 Mon Sep 17 00:00:00 2001 From: Bert De Block Date: Mon, 3 Oct 2022 20:47:46 +0200 Subject: [PATCH] Remove `Function` and `String` from `EXTEND_PROTOTYPES` type (cherry picked from commit 96bb3ea1dd6edb1a148413ff4b3ae71c93f6aff5) --- types/preview/ember/index.d.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/types/preview/ember/index.d.ts b/types/preview/ember/index.d.ts index 59270bbcbb8..321c0ab422b 100755 --- a/types/preview/ember/index.d.ts +++ b/types/preview/ember/index.d.ts @@ -238,10 +238,8 @@ declare module 'ember' { const service: typeof EmberServiceNs.inject; } namespace ENV { - const EXTEND_PROTOTYPES: { + const EXTEND_PROTOTYPES: boolean | { Array: boolean; - Function: boolean; - String: boolean; }; const LOG_BINDINGS: boolean; const LOG_STACKTRACE_ON_DEPRECATION: boolean;