diff --git a/packages/js/email-editor/src/private-apis/index.ts b/packages/js/email-editor/src/private-apis/index.ts index 6169cce68b..812fee78aa 100644 --- a/packages/js/email-editor/src/private-apis/index.ts +++ b/packages/js/email-editor/src/private-apis/index.ts @@ -3,8 +3,6 @@ */ import { __dangerousOptInToUnstableAPIsOnlyForCoreModules } from '@wordpress/private-apis'; import { - // @ts-expect-error No types for privateApis. - privateApis as blockEditorPrivateApi, // @ts-expect-error No types for privateApis. privateApis as blockEditorPrivateApis, } from '@wordpress/block-editor'; @@ -61,7 +59,7 @@ const { ColorPanel: StylesColorPanel } = unlock( blockEditorPrivateApis ); /** * The useGlobalStylesOutputWithConfig is used to generate the CSS for the email editor content from the style settings. */ -const { useGlobalStylesOutputWithConfig } = unlock( blockEditorPrivateApi ); +const { useGlobalStylesOutputWithConfig } = unlock( blockEditorPrivateApis ); export { BlockCanvas,