-
-
Notifications
You must be signed in to change notification settings - Fork 45
Missing TypeScript declaration file #284
Comments
FWIW, I was seeing this until I added declarations to my main.ts as described in #235, as well as the "failed to resolve component" described in the ticket. The ts error went away and everything started working after I made those updates. |
Figure I should add the specific changes to main.ts that I'm referring to.
|
Actually...scratch that. The error did disappear, but it's showing up again after reopening the project. Must have just been a fluke. |
I am still getting this. Any update? |
how did you exactly solve this? I can't compile it because it screams for TS declarations. I am unable to find them |
please publish your typescript .d.ts use run build:tsd. |
Version
3.x.x (Vue 3.x)
Describe the bug
I'm not being able to make the typings work on .ts files, the following errors are being shown:
Visual Studio Code 1.62.0:
IntelliJ IDEA 2021.2:
Using
npm run serve
command (on a new scaffolded vue project):Describe the bug
vue create hello-world
with TypeScript featurenpm install @asigloo/vue-dynamic-forms
.main.ts
file if not exist.import { createDynamicForms } from '@asigloo/vue-dynamic-forms'
tomain.ts
file.Expected behavior
The IDE can recognize the typings of imported modules from
@asigloo/vue-dynamic-forms
on TypeScript files.System Info
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: