quill: Fix error in typescript@next (#17060)

This commit is contained in:
Andy
2017-06-08 15:13:10 -07:00
committed by Mohamed Hegazy
parent 2baab8780c
commit e8aac973ef
+1 -1
View File
@@ -170,7 +170,7 @@ function test_addContainer()
function test_on_EventType1(){
var quillEditor = new Quill('#editor');
quillEditor.on('text-change', (newDelta, oldDelta, source)=>{
quillEditor.on('text-change', <T>(newDelta: T, oldDelta: T, source: string)=>{
// happened
});