Skip to content

feat: add web-types.json for WebStorm - #1288

Merged
farnabaz merged 4 commits into
nuxt:mainfrom
SugarF0x:docs/web-types
Jun 30, 2022
Merged

farnabaz merged 4 commits into
nuxt:mainfrom
SugarF0x:docs/web-types

Conversation

@SugarF0x

Copy link
Copy Markdown
Contributor

🔗 Linked issue

❓ 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

Was getting annoyed at WebStorm being of no help whatsoever since it knew little to nothing about props & slots.
Now it does - see unknown slot name "not-found" no more

Not too sure if thats a documentation, bug fix or enhancement update tho 👀

📝 Checklist

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

@netlify

netlify Bot commented Jun 26, 2022 •

Copy link
Copy Markdown

✅ Deploy Preview for nuxt-content ready!

Name Link
🔨 Latest commit 25f3c6d
🔍 Latest deploy log https://app.netlify.com/sites/nuxt-content/deploys/62bd6f6f0c6c4f0009f4e1d4
😎 Deploy Preview https://deploy-preview-1288--nuxt-content.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 settings.

@atinux
atinux requested a review from farnabaz June 27, 2022 13:21
@farnabaz farnabaz changed the title Add web-types.json for WebStorm feat: add web-types.json for WebStorm Jun 30, 2022

@farnabaz farnabaz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks ❤️

@farnabaz
farnabaz merged commit dad69b8 into nuxt:main Jun 30, 2022
farnabaz added a commit that referenced this pull request Sep 7, 2022
* docs(JSDoc): define component slots

* fix(dx): add web-types.json for better code insight in WebStorm

* chore: generate types in dist directory

Co-authored-by: Ahad Birang <farnabaz@gmail.com>
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.

2 participants