WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
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