Skip to content

Conversation

aiktb
Copy link
Contributor

@aiktb aiktb commented Oct 1, 2025

Overview

Manual Testing

Related Issue

This PR closes #<issue_number>

@aiktb aiktb requested a review from aklinker1 as a code owner October 1, 2025 01:30
@Copilot Copilot AI review requested due to automatic review settings October 1, 2025 01:30
@aiktb aiktb requested a review from Timeraa as a code owner October 1, 2025 01:30
Copy link

netlify bot commented Oct 1, 2025

Deploy Preview for creative-fairy-df92c4 ready!

Name Link
🔨 Latest commit 77d790a
🔍 Latest deploy log https://app.netlify.com/projects/creative-fairy-df92c4/deploys/68dc8445587f600008aaf4f4
😎 Deploy Preview https://deploy-preview-1914--creative-fairy-df92c4.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 project configuration.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Fixes a TypeScript type issue where storage items with an init option incorrectly included null in their value type. The PR adds a more specific method overload to ensure proper typing when the init option is provided.

  • Adds a specific method overload for defineItem when the init option is present
  • Ensures the return type correctly excludes null when initialization is guaranteed

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@aiktb aiktb changed the title fix(type): when having init option, the value type should not contain null type(storage): when having init option, the value type should not contain null Oct 1, 2025
@aiktb
Copy link
Contributor Author

aiktb commented Oct 3, 2025

same #1909

@aiktb aiktb closed this Oct 3, 2025
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.

1 participant