N
Nuxt3d ago
Reeed

vscode complains about auto imports

there is a utils/index.ts in my project, i know it would be auto imported into my vue components and it works fine, but the vscode would complain about it like this:
Property 'toLocal' does not exist on type 'CreateComponentPublicInstanceWithMixins<ToResolvedProps<{ course: CourseExt; }, {}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 18 more ..., {}>'.
Property 'toLocal' does not exist on type 'CreateComponentPublicInstanceWithMixins<ToResolvedProps<{ course: CourseExt; }, {}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 18 more ..., {}>'.
where toLocal is the helper function in the utils/index.ts file, how can i fix this?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server