File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ export interface BeforeCreate { beforeCreate ( ) : void ; }
2+ export interface Created { created ( ) : void ; }
3+ export interface BeforeMount { beforeMount ( ) : void ; }
4+ export interface Mounted { mounted ( ) : void ; }
5+ export interface BeforeUpdate { beforeUpdate ( ) : void ; }
6+ export interface Updated { updated ( ) : void ; }
7+ export interface Activated { activated ( ) : void ; }
8+ export interface Deactivated { deactivated ( ) : void ; }
9+ export interface BeforeDestroy { beforeDestroy ( ) : void ; }
10+ export interface BeforeUnmount { beforeUnmount ( ) : void ; }
11+ export interface Destroyed { destroyed ( ) : void ; }
12+ export interface Unmounted { unmounted ( ) : void ; }
13+ export interface RenderTracked { renderTracked ( ) : void ; }
14+ export interface RenderTriggered { renderTriggered ( ) : void ; }
15+ export interface ErrorCaptured { errorCaptured ( ) : void ; }
16+ export interface ServerPrefetch { serverPrefetch ( ) : void ; }
17+ export interface Render { render ( ) : void ; }
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ export { decorator as Vanilla } from './option/vanilla'
1111export { decorator as Hook } from './option/methodsAndHooks'
1212export { createDecorator } from './custom/custom'
1313export { mixins } from './mixins'
14+ export * from './hooks'
1415import type { ComponentPublicInstance } from 'vue'
1516import type { OptionBuilder } from './optionBuilder'
1617
Original file line number Diff line number Diff line change 1+ import { BeforeUnmount , Mounted } from '../dist'
2+
3+ class MyTestComponent implements BeforeUnmount , Mounted {
4+ beforeUnmount ( ) : void { }
5+ mounted ( ) : void { }
6+ }
You can’t perform that action at this time.
0 commit comments