15 lines
230 B
Markdown
15 lines
230 B
Markdown
|
---
|
||
|
sidebar_label: EventsWithWildcard
|
||
|
---
|
||
|
|
||
|
# EventsWithWildcard type
|
||
|
|
||
|
#### Signature:
|
||
|
|
||
|
```typescript
|
||
|
export type EventsWithWildcard<Events extends Record<EventType, unknown>> =
|
||
|
Events & {
|
||
|
'*': Events[keyof Events];
|
||
|
};
|
||
|
```
|