Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix types for export on ESModule #2211

Merged
merged 1 commit into from
Sep 20, 2024
Merged

Fix types for export on ESModule #2211

merged 1 commit into from
Sep 20, 2024

Conversation

ani3llyon
Copy link
Contributor

Fix types for export in file index.d.ts

  • use typescript
  • set "type": "module" in package.json or set extention file to .mts
import nodemon from 'nodemon';

// no show error on ide and also when compile the code
// but error when running
nodemon.default();

// show error on ide and also when compile the code
// but no error when running
nodemon();

Copy link

netlify bot commented Jun 21, 2024

Deploy Preview for nodemon ready!

Name Link
🔨 Latest commit f4501b3
🔍 Latest deploy log https://app.netlify.com/sites/nodemon/deploys/6675a32ce05b230008b57587
😎 Deploy Preview https://deploy-preview-2211--nodemon.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@remy remy merged commit 9b0606a into remy:main Sep 20, 2024
4 checks passed
Copy link

🎉 This PR is included in version 3.1.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants