diff --git a/quill/quill.d.ts b/quill/quill.d.ts index 2ec959ef99..88436f7f58 100644 --- a/quill/quill.d.ts +++ b/quill/quill.d.ts @@ -73,7 +73,7 @@ declare namespace QuillJS { setSelection(range: RangeStatic, source?: "api"|"user"|"silent"): void; on(eventName: string, callback: ((delta: T, oldContents: T, source: string) => void) | - ((name: string, ...args) => void )): QuillStatic; + ((name: string, ...args:any[]) => void )): QuillStatic; once(eventName: string, callback: (delta: DeltaStatic, source: string) => void): QuillStatic; off(eventName: string, callback: (delta: DeltaStatic, source: string) => void): QuillStatic;