Skip to content

Commit 5b9b855

Browse files
committed
Adjust typings
1 parent ae75ea0 commit 5b9b855

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

demos/cdn-multiroot-react/useCKCdnMultiRootEditor.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
* For licensing, see LICENSE.md.
44
*/
55

6+
import type { MultiRootEditor } from 'https://cdn.ckeditor.com/typings/ckeditor5.d.ts';
67
import type { CKEditorCloudResult } from '../../src/index.js';
78

8-
export const useCKCdnMultiRootEditor = ( cloud: CKEditorCloudResult ): Window['CKEDITOR']['MultiRootEditor' ] => {
9+
export const useCKCdnMultiRootEditor = ( cloud: CKEditorCloudResult ): typeof MultiRootEditor => {
910
const {
1011
MultiRootEditor: MultiRootEditorBase,
1112
CloudServices,

0 commit comments

Comments
 (0)