We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6de47df commit 5540115Copy full SHA for 5540115
src/main/ts/Utils.ts
@@ -13,9 +13,7 @@ import type { Editor as HugeRTEEditor, EditorEvent } from 'hugerte';
13
export const isFunction = (x: unknown): x is Function => typeof x === 'function';
14
15
const isEventProp = (name: keyof IAllProps): name is keyof IEvents => {
16
- const what = name.startsWith('on')/* && name !== 'onEditorChange' */;
17
- console.log('isEventProp', name, what);
18
- return what;
+ return name.startsWith('on')/* && name !== 'onEditorChange' */;
19
}
20
21
const eventAttrToEventName = <T extends string>(attrName: `on${T}`): T => attrName.substring(2) as T;
0 commit comments