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

feat: add web-types.json for WebStorm#1288
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

netlifyBot commented Jun 26, 2022

Copy link
Copy Markdown

Deploy Preview for nuxt-content ready!

NameLink
🔨 Latest commit25f3c6d
🔍 Latest deploy loghttps://app.netlify.com/sites/nuxt-content/deploys/62bd6f6f0c6c4f0009f4e1d4
😎 Deploy Previewhttps://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 farnabazJune 27, 2022 13:21
@farnabazfarnabaz changed the title Add web-types.json for WebStormfeat: add web-types.json for WebStormJun 30, 2022

@farnabazfarnabaz 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:mainJun 30, 2022
This was referenced Aug 12, 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 freeto 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

@SugarF0x@farnabaz