Put in order · JavaScript and TypeScript course · Module 10: TypeScript in Practice
Emit Method Syntax in TypedEventEmitter
Arrange the elements of an emit call in a typed emitter:
Items to put in order
- dangerLevel: 5 })
- { species: 'T-Rex',
- emitter.emit(
- 'dinosaur:escaped',
You can check the correct answer by solving this task in the CodeWorlds game.