diff --git a/src/demo.ts b/src/demo.ts index fa85acc96..d24421a55 100644 --- a/src/demo.ts +++ b/src/demo.ts @@ -58,7 +58,7 @@ lineEditLabel.setText("PlainTextEdit's bound Value"); const textEdit = new QPlainTextEdit(); textEdit.setPlainText("Hello"); -textEdit.addEventListener(QPlainTextEditEvents.textChanged, (value: string) => { +textEdit.addEventListener(QPlainTextEditEvents.textChanged, () => { lineEditLabel.setText(textEdit.toPlainText()); });