Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 0 additions & 35 deletions .pnpm-patches/@wordpress__interactivity@6.40.0.patch

This file was deleted.

24 changes: 24 additions & 0 deletions .pnpm-patches/@wordpress__interactivity@6.41.0.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
diff --git a/build-types/utils.d.ts b/build-types/utils.d.ts
--- a/build-types/utils.d.ts
+++ b/build-types/utils.d.ts
@@ -4,7 +4,7 @@
import { type EffectCallback, type Inputs } from 'preact/hooks';
declare global {
interface Window {
- scheduler?: {
+ scheduler: {
postTask: (callback: () => unknown, options?: object) => Promise<unknown>;
yield: () => Promise<void>;
};
diff --git a/src/utils.ts b/src/utils.ts
--- a/src/utils.ts
+++ b/src/utils.ts
@@ -24,7 +24,7 @@

declare global {
interface Window {
- scheduler?: {
+ scheduler: {
Comment on lines +20 to +21
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Created an upstream fix WordPress/gutenberg#76271

postTask: (
callback: () => unknown,
options?: object
Loading
Loading