diff --git a/src/ckeditor.tsx b/src/ckeditor.tsx index 187fd09..993f7ad 100644 --- a/src/ckeditor.tsx +++ b/src/ckeditor.tsx @@ -5,7 +5,7 @@ /* globals window */ -import React from 'react'; +import React, { type ContextType } from 'react'; import PropTypes, { type InferProps, type Validator } from 'prop-types'; import type { @@ -96,7 +96,7 @@ export default class CKEditor extends React.Component>, _: Readonly, - nextContext: any + nextContext: ContextType ): boolean { const { context, props, editorSemaphore } = this;