You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No overload matches this call.
Overload 1 of 3, '(options?: ThisTypedComponentOptionsWithArrayProps<_TsxComponentInstanceV3<Vue & { boo: string; foo: string; }, {}, { boo: string; } & { foo?: string | undefined; }, {}, {}, {}>, object, object, object, never> | undefined): CombinedVueInstance<...>', gave the following error.
Type '{ boo: string; }' is not assignable to type 'ThisTypedComponentOptionsWithArrayProps<_TsxComponentInstanceV3<Vue & { boo: string; foo: string; }, {}, { boo: string; } & { foo?: string | undefined; }, {}, {}, {}>, object, object, object, never>'.
Property 'boo' does not exist on type 'ThisTypedComponentOptionsWithArrayProps<_TsxComponentInstanceV3<Vue & { boo: string; foo: string; }, {}, { boo: string; } & { foo?: string | undefined; }, {}, {}, {}>, object, object, object, never>'.
Overload 2 of 3, '(options?: ThisTypedComponentOptionsWithRecordProps<_TsxComponentInstanceV3<Vue & { boo: string; foo: string; }, {}, { boo: string; } & { foo?: string | undefined; }, {}, {}, {}>, object, object, object, object> | undefined): CombinedVueInstance<...>', gave the following error.
Type '{ boo: string; }' is not assignable to type 'ThisTypedComponentOptionsWithRecordProps<_TsxComponentInstanceV3<Vue & { boo: string; foo: string; }, {}, { boo: string; } & { foo?: string | undefined; }, {}, {}, {}>, object, object, object, object>'.
Property 'boo' does not exist on type 'ThisTypedComponentOptionsWithRecordProps<_TsxComponentInstanceV3<Vue & { boo: string; foo: string; }, {}, { boo: string; } & { foo?: string | undefined; }, {}, {}, {}>, object, object, object, object>'.
Overload 3 of 3, '(options?: ComponentOptions<_TsxComponentInstanceV3<Vue & { boo: string; foo: string; }, {}, { boo: string; } & { foo?: string | undefined; }, {}, {}, {}>, DefaultData<_TsxComponentInstanceV3<Vue & { ...; }, ... 4 more ..., {}>>, DefaultMethods<...>, DefaultComputed, PropsDefinition<...>, DefaultProps> | undefined): CombinedVueInstance<...>', gave the following error.
Type '{ boo: string; }' is not assignable to type 'ComponentOptions<_TsxComponentInstanceV3<Vue & { boo: string; foo: string; }, {}, { boo: string; } & { foo?: string | undefined; }, {}, {}, {}>, DefaultData<_TsxComponentInstanceV3<Vue & { ...; }, ... 4 more ..., {}>>, DefaultMethods<...>, DefaultComputed, PropsDefinition<...>, DefaultProps>'.
Property 'boo' does not exist on type 'ComponentOptions<_TsxComponentInstanceV3<Vue & { boo: string; foo: string; }, {}, { boo: s
. 4 more ..., {}>>, DefaultMethods<...>, DefaultComputed, PropsDefinition<...>, DefaultProps>'.
Property 'boo' does not exist on type 'ComponentOptions<_TsxComponentInstanceV3<Vue & { boo: string; foo: string; }, {}, { boo: string; } & { foo?: string | undefined; }, {}, {}, {}>, DefaultData<_TsxComponentInstanceV3<Vue & { ...; }, ... 4 more ..., {}>>, DefaultMethods<...>, DefaultComputed, PropsDefinition<...>, DefaultProps>'.
7 | return (
8 | <div>
> 9 | <Person boo="boo"/>
| ^
10 | </div>
11 | )
12 | }
It seems like props in the child were not getting recognized at all, there is no type of checking no required enforcement, nothing, I may have missed something basic here but please advise.
I have a child component
when I call it with a prop in a parent
I'm getting these errors
It seems like props in the child were not getting recognized at all, there is no type of checking no required enforcement, nothing, I may have missed something basic here but please advise.
babel
tsconfig
package.json
The text was updated successfully, but these errors were encountered: