Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding typescript declartion file #291

Closed
albertlast opened this issue Aug 29, 2021 · 1 comment
Closed

Adding typescript declartion file #291

albertlast opened this issue Aug 29, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@albertlast
Copy link

albertlast commented Aug 29, 2021

Is your feature request related to a problem? Please describe.
I would like to use vue-next-select in vuejs 3.2 project in a script tag in lang typescript

<script lang="ts">
import { computed, ref } from "vue";
import VueNextSelect from "vue-next-select";
...
</script>

But when i do so i get the error:
grafik

Describe the solution you'd like
So dunno if it a bug or feature request,
but i would like to hav a declaration file for the module vue-next-select.

@albertlast albertlast changed the title Adding typescript declection file Adding typescript declartion file Aug 29, 2021
@soc221b soc221b added the enhancement New feature or request label Aug 31, 2021
soc221b pushed a commit that referenced this issue Aug 31, 2021
soc221b pushed a commit that referenced this issue Aug 31, 2021
@soc221b
Copy link
Owner

soc221b commented Sep 4, 2021

Hi @albertlast 👋

Thank you for opening an issue.

TypeScript is supported in vue-next-select@^2.10.1. 🍾

Closing this for now but feel free to comment/reopen with additional questions/feedback 😄 .

@soc221b soc221b closed this as completed Sep 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants