Skip to content

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

@riderx

Description

@riderx

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions