这是indexloc提供的服务,不要输入任何密码
Skip to content

Import of package not working #22

@yshkp

Description

@yshkp

Tried to import express-zip using :
const zip = require("express-zip");
but found this error -
Could not find a declaration file for module 'express-zip'. '/home/yash/hammock-server/node_modules/express-zip/index.js' implicitly has an 'any' type. Try ``npm install @types/express-zip`` if it exists or adds a new declaration (.d.ts) file containing declare module 'express-zip';

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