/novu-minimal-node-ts-error

Minimal reproducible error for typescript + novu use of node types

Primary LanguageTypeScript

The project only has these dependencies:

  "dependencies": {
    "@novu/notification-center": "^0.24.0",
    "@types/react": "^16.8",
    "@types/react-dom": "^16.8",
    "react": "^16.8",
    "react-dom": "^16.8"
  },
  "devDependencies": {
    "typescript": "^5.4.2"
  }

Build and compile the project:

npm install
npx tsc

You will find a dependency error. @novu/notification-center has an implicit dependency to @types/node.

Captura de pantalla 2024-03-08 a las 11 27 28