Skip to content

Fix and update all TypeScript definitions #1132

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

Merged
merged 4 commits into from
May 25, 2025
Merged

Conversation

gilmoreorless
Copy link
Member

@gilmoreorless gilmoreorless commented May 25, 2025

This started with adding definitions for the built bundles (addressing #1089). But I noticed several other issues with the existing type definitions and tests.

As far as I can tell, the types for all exported files should now match the code implementation.

Tested with a clean TypeScript project, importing this branch via npm link.

`moment-tests.ts` wasn't being included in the `typing-tests` project, so it wasn't
being tested at all. Any unique tests it contained have been migrated to the other files.
@gilmoreorless gilmoreorless merged commit 83784ed into develop May 25, 2025
5 checks passed
@gilmoreorless gilmoreorless deleted the typescript-fixes branch May 25, 2025 05:57
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