Files
klz-cables.com/.pnpm-store/v10/files/7c/754886b3aa91af48b62c3d7161c85b87b2ecf21ddc69539e036940506c2b8843476d7d9548b3b995814d5a20fc6731eca9746f7e1ac4dc8b118f8bf4ae3676
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

20 lines
509 B
Plaintext

/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow strict
*/
import type {LexicalEditor} from 'lexical';
export type LexicalSubscription<T> = {
initialValueFn: () => T,
subscribe: (callback: (value: T) => void) => () => void,
};
declare export function useLexicalSubscription<T>(
subscription: (editor: LexicalEditor) => LexicalSubscription<T>,
): T;