nodemon icon indicating copy to clipboard operation
nodemon copied to clipboard

Problem with Newley released types

Open KevinGruber opened this issue 9 months ago • 19 comments

  • Versions: [email protected], [email protected]
  • nodemon -v: 3.1.1
  • Operating system/terminal environment (powershell, gitshell, etc): MacOs, terminal
  • Command you ran: Via api in typescript

Expected behaviour

When importing nodemon there is a default export for functionality defined in the types.

Actual behaviour

With the addition of https://github.com/remy/nodemon/pull/2204 there where types added to the project, but no default export types for functionality -> that leads to a not usable nodemon in typescript

Steps to reproduce

import nodemon from 'nodemon';

-> nodemon is not a module


KevinGruber avatar May 28 '24 07:05 KevinGruber