@@ -82,10 +82,10 @@ export interface VueConstructor<V extends Vue = Vue> {
82
82
new < Data = object , Methods = object , Computed = object , Props = object > ( options ?: ThisTypedComponentOptionsWithRecordProps < V , Data , Methods , Computed , Props > ) : CombinedVueInstance < V , Data , Methods , Computed , Record < keyof Props , any > > ;
83
83
new ( options ?: ComponentOptions < V > ) : CombinedVueInstance < V , object , object , object , Record < keyof object , any > > ;
84
84
85
- extend < PropNames extends string = never > ( definition : FunctionalComponentOptions < Record < PropNames , any > , PropNames [ ] > ) : ExtendedVue < V , { } , { } , { } , Record < PropNames , any > > ;
86
- extend < Props > ( definition : FunctionalComponentOptions < Props , RecordPropsDefinition < Props > > ) : ExtendedVue < V , { } , { } , { } , Props > ;
87
85
extend < Data , Methods , Computed , PropNames extends string = never > ( options ?: ThisTypedComponentOptionsWithArrayProps < V , Data , Methods , Computed , PropNames > ) : ExtendedVue < V , Data , Methods , Computed , Record < PropNames , any > > ;
88
86
extend < Data , Methods , Computed , Props > ( options ?: ThisTypedComponentOptionsWithRecordProps < V , Data , Methods , Computed , Props > ) : ExtendedVue < V , Data , Methods , Computed , Props > ;
87
+ extend < PropNames extends string = never > ( definition : FunctionalComponentOptions < Record < PropNames , any > , PropNames [ ] > ) : ExtendedVue < V , { } , { } , { } , Record < PropNames , any > > ;
88
+ extend < Props > ( definition : FunctionalComponentOptions < Props , RecordPropsDefinition < Props > > ) : ExtendedVue < V , { } , { } , { } , Props > ;
89
89
extend ( options ?: ComponentOptions < V > ) : ExtendedVue < V , { } , { } , { } , { } > ;
90
90
91
91
nextTick ( callback : ( ) => void , context ?: any [ ] ) : void ;
@@ -104,10 +104,10 @@ export interface VueConstructor<V extends Vue = Vue> {
104
104
component ( id : string ) : VueConstructor ;
105
105
component < VC extends VueConstructor > ( id : string , constructor : VC ) : VC ;
106
106
component < Data , Methods , Computed , Props > ( id : string , definition : AsyncComponent < Data , Methods , Computed , Props > ) : ExtendedVue < V , Data , Methods , Computed , Props > ;
107
- component < PropNames extends string > ( id : string , definition : FunctionalComponentOptions < Record < PropNames , any > , PropNames [ ] > ) : ExtendedVue < V , { } , { } , { } , Record < PropNames , any > > ;
108
- component < Props > ( id : string , definition : FunctionalComponentOptions < Props , RecordPropsDefinition < Props > > ) : ExtendedVue < V , { } , { } , { } , Props > ;
109
107
component < Data , Methods , Computed , PropNames extends string = never > ( id : string , definition ?: ThisTypedComponentOptionsWithArrayProps < V , Data , Methods , Computed , PropNames > ) : ExtendedVue < V , Data , Methods , Computed , Record < PropNames , any > > ;
110
108
component < Data , Methods , Computed , Props > ( id : string , definition ?: ThisTypedComponentOptionsWithRecordProps < V , Data , Methods , Computed , Props > ) : ExtendedVue < V , Data , Methods , Computed , Props > ;
109
+ component < PropNames extends string > ( id : string , definition : FunctionalComponentOptions < Record < PropNames , any > , PropNames [ ] > ) : ExtendedVue < V , { } , { } , { } , Record < PropNames , any > > ;
110
+ component < Props > ( id : string , definition : FunctionalComponentOptions < Props , RecordPropsDefinition < Props > > ) : ExtendedVue < V , { } , { } , { } , Props > ;
111
111
component ( id : string , definition ?: ComponentOptions < V > ) : ExtendedVue < V , { } , { } , { } , { } > ;
112
112
113
113
use < T > ( plugin : PluginObject < T > | PluginFunction < T > , options ?: T ) : void ;
0 commit comments