Skip to content

add type declaration file for module 'progress-bar-cli' #9

@mratanusarkar

Description

@mratanusarkar

Need to resolve the following points:

  • resolve the warning
const require: NodeRequire
(id: string) => any
Could not find a declaration file for module 'progress-bar-cli'. 'c:/sample_project/node_modules/progress-bar-cli/progress-bar.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/progress-bar-cli` if it exists or add a new declaration (.d.ts) file containing `declare module 'progress-bar-cli';`ts(7016)
  • add support for Typescript by adding TS declaration.

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