@@ -82,10 +82,10 @@ export interface VueConstructor<V extends Vue = Vue> {
8282 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 > > ;
8383 new ( options ?: ComponentOptions < V > ) : CombinedVueInstance < V , object , object , object , Record < keyof object , any > > ;
8484
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 > ;
8785 extend < Data , Methods , Computed , PropNames extends string = never > ( options ?: ThisTypedComponentOptionsWithArrayProps < V , Data , Methods , Computed , PropNames > ) : ExtendedVue < V , Data , Methods , Computed , Record < PropNames , any > > ;
8886 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 > ;
8989 extend ( options ?: ComponentOptions < V > ) : ExtendedVue < V , { } , { } , { } , { } > ;
9090
9191 nextTick ( callback : ( ) => void , context ?: any [ ] ) : void ;
@@ -104,10 +104,10 @@ export interface VueConstructor<V extends Vue = Vue> {
104104 component ( id : string ) : VueConstructor ;
105105 component < VC extends VueConstructor > ( id : string , constructor : VC ) : VC ;
106106 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 > ;
109107 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 > > ;
110108 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 > ;
111111 component ( id : string , definition ?: ComponentOptions < V > ) : ExtendedVue < V , { } , { } , { } , { } > ;
112112
113113 use < T > ( plugin : PluginObject < T > | PluginFunction < T > , options ?: T ) : void ;
0 commit comments