From 719d7baf06a3cd3728ef46ce46f39f7cb69b3e0a Mon Sep 17 00:00:00 2001 From: Dan Lemon Date: Wed, 7 Aug 2024 17:26:16 +0200 Subject: [PATCH] fix: add typing for Drupal.behaviors and drupalSettings.preview - set to any for now --- packages/drupal/gutenberg_blocks/src/index.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/drupal/gutenberg_blocks/src/index.ts b/packages/drupal/gutenberg_blocks/src/index.ts index f16b906a3..9082f0720 100644 --- a/packages/drupal/gutenberg_blocks/src/index.ts +++ b/packages/drupal/gutenberg_blocks/src/index.ts @@ -1,7 +1,11 @@ declare global { - const Drupal: { t: (s: string) => string }; + const Drupal: { + behaviors: any; + t: (s: string) => string; + }; const drupalSettings: { + preview: any; path: { baseUrl: string; pathPrefix: string;