Skip to content

Commit f7ebfa3

Browse files
Props -> Record<keyof Props, any>
1 parent e4a8545 commit f7ebfa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/options.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export type ThisTypedComponentOptionsWithArrayProps<Instance extends Vue, Data,
3838
export type ThisTypedComponentOptionsWithRecordProps<Instance extends Vue, Data, Methods, Computed, Props> =
3939
object &
4040
ComponentOptions<Data | ((this: Record<keyof Props, any> & Instance) => Data), Methods, Computed, Props> &
41-
ThisType<CombinedVueInstance<Instance, Data, Methods, Computed, Props>>;
41+
ThisType<CombinedVueInstance<Instance, Data, Methods, Computed, Record<keyof Props, any>>>;
4242

4343
/**
4444
* A helper type that describes options for either functional or non-functional components.

0 commit comments

Comments
 (0)