/** * 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. * */ // You are seeing this declaration file because your TypeScript cannot read // Lexical's types through the package.json "exports" field. // // Lexical requires TypeScript >= 5.2 with "moduleResolution" set to // "bundler", "node16", or "nodenext". To fix this: // 1. Upgrade TypeScript to >= 5.2. // 2. In tsconfig.json set "moduleResolution" to "bundler" (recommended for // apps/bundlers) or "node16" / "nodenext", and a matching "module". import 'Lexical requires TypeScript >=5.2 with moduleResolution bundler, node16, or nodenext'; export {};