Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve type definition. #92

Merged
merged 4 commits into from Jun 22, 2022
Merged

Commits on Jun 22, 2022

  1. Improve type inference.

    Type inferences for some kind of values(functions, records, promises,.etc) are not correct when deep option is enabled. It is because CamelCaseKeys type accepts Record<string, any> and then accepts some object-like types such as functions or promises.
    Masa-Shin committed Jun 22, 2022
    Copy the full SHA
    0050c7e View commit details
    Browse the repository at this point in the history
  2. Update index.test-d.ts

    sindresorhus committed Jun 22, 2022
    Copy the full SHA
    e68e774 View commit details
    Browse the repository at this point in the history
  3. Update index.test-d.ts

    sindresorhus committed Jun 22, 2022
    Copy the full SHA
    4a9b3a7 View commit details
    Browse the repository at this point in the history
  4. Update index.test-d.ts

    sindresorhus committed Jun 22, 2022
    Copy the full SHA
    82da629 View commit details
    Browse the repository at this point in the history