# GetEventInfo

typedef

Utility type that gets the `EventInfo` subclass for the given event.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-utils/src/emittermixin.ts#L634)

<a id="type-parameters">

## Type parameters

### `TEvent: extends BaseEvent`

#### Value

`TEvent extends object ? TEvent[ 'eventInfo' ] : EventInfo<TEvent[ 'name' ], TEvent extends object ? TReturn : unknown>`

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
