Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

refactor(nuxt, kit): improve type strictness #6685

Merged
merged 8 commits into from
Aug 22, 2022
Merged

Conversation

antfu
Copy link
Member

@antfu antfu commented Aug 16, 2022

πŸ”— 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

πŸ“ Checklist

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

@netlify
Copy link

netlify bot commented Aug 16, 2022

βœ… Deploy Preview for nuxt3-docs ready!

Name Link
πŸ”¨ Latest commit 0512f10
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/63034e1982b95a000a789685
😎 Deploy Preview https://deploy-preview-6685--nuxt3-docs.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.

@antfu antfu marked this pull request as ready for review August 18, 2022 08:05
@@ -11,7 +11,7 @@ export function isIgnored (pathname: string): boolean {

// Happens with CLI reloads
if (!nuxt) {
return null
return false
Copy link
Member

Choose a reason for hiding this comment

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

Context: This was to distinguish situations where isIgnored cannot identify ignoring from when it detects file is actually ignored.

Copy link
Member

@pi0 pi0 left a comment

Choose a reason for hiding this comment

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

Nice changes. Thanks <3

@pi0 pi0 changed the title chore(nuxt, kit): improve type strictness refactor(nuxt, kit): improve type strictness Aug 22, 2022
@pi0 pi0 merged commit e1e39b7 into main Aug 22, 2022
@pi0 pi0 deleted the chore/ts-strict-take-3 branch August 22, 2022 10:12
@pi0 pi0 mentioned this pull request Aug 26, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants