How to create lambda of type ((KeyboardEvent) -> dynamic)? in Kotlin ...

How to create lambda of type ((KeyboardEvent) -> dynamic)? in Kotlin ...