Skip to content

Conversation

@mpppk
Copy link
Collaborator

@mpppk mpppk commented Mar 27, 2025

This pull request includes several changes to the typed-api-spec package, focusing on enhancing JSON handling and adding new test cases. The most important changes are the introduction of the JsonStringifyResult type, updates to the FetchT type, and modifications to the ESLint configuration.

Enhancements to JSON handling:

  • pkgs/typed-api-spec/src/json/index.ts: Introduced the JsonStringifyResult type to handle JSON stringification results, including support for complex types like Date, and added detailed type transformations for JSON-compatible structures.
  • pkgs/typed-api-spec/src/json/index.test.ts: Added new test cases to validate the JsonStringifyResult type, ensuring correct handling of various data types and structures.

Updates to FetchT type:

Modifications to ESLint configuration:

Additional changes:

@mpppk mpppk merged commit a16ccd4 into main Mar 28, 2025
3 checks passed
@mpppk mpppk deleted the json-compatible branch March 28, 2025 05:12
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.

2 participants