Skip to content

Typescript Compiler cannot find the .d.ts file of this package #96

@wfjsw

Description

@wfjsw
TS7016: Could not find a declaration file for module 'vue-github-buttons'. 'node_modules/vue-github-buttons/dist/vue-github-buttons.cjs.js' implicitly has an 'any' type.   If the 'vue-github-buttons' package actually exposes this module, try adding a new declaration (.d.ts) file containing `declare module 'vue-github-buttons';`

It seems the packages.json lacks a types entry which points to the .d.ts file.
See also: https://www.tslang.cn/docs/handbook/declaration-files/publishing.html

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