Does this work with vite / typescript? #1586
-
My project is setup with vite / typescript. I installed the code:
But in the component:
'vue-select' is underlined like it doesn't exist. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The component will work with Vite, but it lacks Typescript definitions, so it has an implicit I'm currently working on swapping out webpack for Vite and typescript so I can distribute a types file with the package. One of the last blockers before merging the beta branch. |
Beta Was this translation helpful? Give feedback.
-
That sounds great
…On Fri, Feb 18, 2022, 2:22 PM Jeff Sagal ***@***.***> wrote:
The component will work with Vite, but it lacks Typescript definitions, so
it has an implicit <any> type. That's probably what the underline that
you're seeing comes from.
I'm currently working on swapping out webpack for Vite and typescript so I
can distribute a types file with the package. One of the last blockers
before merging the beta branch.
—
Reply to this email directly, view it on GitHub
<#1586 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOBLORZ5KRQ2ZVD6PZOOATU33BDLANCNFSM5OWEOJVA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
The component will work with Vite, but it lacks Typescript definitions, so it has an implicit
<any>
type. That's probably what the underline that you're seeing comes from.I'm currently working on swapping out webpack for Vite and typescript so I can distribute a types file with the package. One of the last blockers before merging the beta branch.