Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
forked fromvuejs/vue

Commitb0ccb86

Browse files
jamesgeorge007yyx990803
authored andcommitted
chore: rephrase comment (vuejs#9100)
1 parentb111de4 commitb0ccb86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎types/vue.d.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export interface VueConfiguration {
7979

8080
exportinterfaceVueConstructor<VextendsVue=Vue>{
8181
new<Data=object,Methods=object,Computed=object,PropNamesextendsstring=never>(options?:ThisTypedComponentOptionsWithArrayProps<V,Data,Methods,Computed,PropNames>):CombinedVueInstance<V,Data,Methods,Computed,Record<PropNames,any>>;
82-
// ideally, the return type should justcontains Props, not Record<keyof Props, any>. But TS requires Base constructorsmust all have the same return type.
82+
// ideally, the return type should justcontain Props, not Record<keyof Props, any>. But TS requiresto haveBase constructorswith the same return type.
8383
new<Data=object,Methods=object,Computed=object,Props=object>(options?:ThisTypedComponentOptionsWithRecordProps<V,Data,Methods,Computed,Props>):CombinedVueInstance<V,Data,Methods,Computed,Record<keyofProps,any>>;
8484
new(options?:ComponentOptions<V>):CombinedVueInstance<V,object,object,object,Record<keyofobject,any>>;
8585

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp