toss / use-funnel

A powerful and safe step-by-step state management library
https://use-funnel.slash.page
MIT License
192 stars 25 forks source link

[Feature]: Add Tests for `OptionalCompareKeys` When `TResult` has optional keys #57

Closed L2HYUNN closed 1 month ago

L2HYUNN commented 1 month ago

Package Scope

@use-funnel/core

Description

The current tests for the OptionalCompareKeys type utility do not cover scenarios where TResult has optional keys.

Possible Solution

  1. Add new test cases to the typeUtil.test-d.tsx file to cover scenarios where TResult has optional keys.

  2. Ensure that the OptionalCompareKeys type correctly identifies optional keys when TResult includes optional keys.

etc.

No response

minuukang commented 1 month ago

Thank you!