types: improve emit type (#345)
This commit is contained in:
@@ -60,7 +60,7 @@ export const enum LifecycleHooks {
|
||||
ERROR_CAPTURED = 'ec'
|
||||
}
|
||||
|
||||
type Emit = ((event: string, ...args: unknown[]) => void)
|
||||
export type Emit = ((event: string, ...args: unknown[]) => void)
|
||||
|
||||
export interface SetupContext {
|
||||
attrs: Data
|
||||
|
||||
Reference in New Issue
Block a user