88 DirectiveOptions ,
99 DirectiveFunction
1010} from "./options" ;
11- import { VNode , VNodeData , VNodeChildren } from "./vnode" ;
11+ import { VNode , VNodeData , VNodeChildren , ScopedSlot } from "./vnode" ;
1212import { PluginFunction , PluginObject } from "./plugin" ;
1313
1414export type CreateElement = {
@@ -40,6 +40,7 @@ export declare class Vue {
4040 readonly $children : Vue [ ] ;
4141 readonly $refs : { [ key : string ] : Vue | Element | Vue [ ] | Element [ ] } ;
4242 readonly $slots : { [ key : string ] : VNode [ ] } ;
43+ readonly $scopedSlots : { [ key : string ] : ScopedSlot } ;
4344 readonly $isServer : boolean ;
4445
4546 $mount ( elementOrSelector ?: Element | String , hydrating ?: boolean ) : this;
@@ -56,7 +57,8 @@ export declare class Vue {
5657 $once ( event : string , callback : Function ) : this;
5758 $off ( event ?: string , callback ?: Function ) : this;
5859 $emit ( event : string , ...args : any [ ] ) : this;
59- $nextTick ( callback ?: ( this : this) => void ) : void ;
60+ $nextTick ( callback : ( this : this) => void ) : void ;
61+ $nextTick ( ) : Promise < void > ;
6062 $createElement : CreateElement ;
6163
6264 static config : {
@@ -69,6 +71,7 @@ export declare class Vue {
6971
7072 static extend ( options : ComponentOptions < Vue > | FunctionalComponentOptions ) : typeof Vue ;
7173 static nextTick ( callback : ( ) => void , context ?: any [ ] ) : void ;
74+ static nextTick ( ) : Promise < void >
7275 static set < T > ( object : Object , key : string , value : T ) : T ;
7376 static set < T > ( array : T [ ] , key : number , value : T ) : T ;
7477 static delete ( object : Object , key : string ) : void ;
0 commit comments