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

Could not find a declaration file for module 'vue-timer-hook'. #141

Open
riderx opened this issue Aug 10, 2021 · 0 comments
Open

Could not find a declaration file for module 'vue-timer-hook'. #141

riderx opened this issue Aug 10, 2021 · 0 comments

Comments

@riderx
Copy link

riderx commented Aug 10, 2021

Reproduction

I did use your boilerplate to create vue-timer-hook, everything looks great, my only concern is as you see in title when i install and import the module i don't have type definitions.
Do i need to do something special for it ?

Steps to reproduce the behavior

  1. npm i vue-timer-hook in vue ts project
  2. import { useTimer } from 'vue-timer-hook'; in a page
  3. then your vscode should show error;

Expected behavior

Type definition should be eported from ts code.

Actual behavior

No type definition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant