mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-01 10:01:07 +02:00
fix(api): event name types (#6318)
* fix(api): event name * suggestion change Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com> --------- Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
import * as eventApi from './helpers/event'
|
||||
import type { EventCallback, UnlistenFn, Event } from './helpers/event'
|
||||
|
||||
export type EventName = TauriEvent | string
|
||||
export type EventName = `${TauriEvent}` | (string & Record<never, never>)
|
||||
|
||||
/**
|
||||
* @since 1.1.0
|
||||
|
||||
Reference in New Issue
Block a user