Skip to content

Commit

Permalink
fix: type quill instance in onEditorCreated output
Browse files Browse the repository at this point in the history
  • Loading branch information
KillerCodeMonkey committed Jun 12, 2024
1 parent 4e5f9a7 commit c9f3a01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/ngx-quill/src/lib/quill-editor.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export abstract class QuillEditorBase implements AfterViewInit, ControlValueAcce
*/
readonly defaultEmptyValue = input<any>(null)

@Output() onEditorCreated: EventEmitter<any> = new EventEmitter()
@Output() onEditorCreated: EventEmitter<QuillType> = new EventEmitter()
@Output() onEditorChanged: EventEmitter<EditorChangeContent | EditorChangeSelection> = new EventEmitter()
@Output() onContentChanged: EventEmitter<ContentChange> = new EventEmitter()
@Output() onSelectionChanged: EventEmitter<SelectionChange> = new EventEmitter()
Expand Down

0 comments on commit c9f3a01

Please sign in to comment.