Skip to content

fix: add Nitro hooks types declarations#2655

Merged
farnabaz merged 1 commit intonuxt:mainfrom
Coiggahou2002:main
Jun 7, 2024
Merged

fix: add Nitro hooks types declarations#2655
farnabaz merged 1 commit intonuxt:mainfrom
Coiggahou2002:main

Conversation

@Coiggahou2002
Copy link
Copy Markdown
Contributor

🔗 Linked issue

#2177

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Resolves #2177 by augmenting the NitroRuntimeHook typing to provide typings of hook content:beforeParse and content:afterParse (and also IDE intellisense of course)

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

Copy link
Copy Markdown
Member

@farnabaz farnabaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing Nitro hooks types declarations

2 participants