Skip to content

Conversation

timmywil
Copy link
Owner

@timmywil timmywil commented Mar 10, 2025

Fixes gh-679
Close gh-680

PR Checklist

Please review the guidelines for contributing to this repository.

  • I am requesting to pull a topic/feature/bugfix branch (right side). In other words, not main.
  • I have run npm test against my changes and tests pass.
  • I have added tests to prove my fix is effective or my feature works. This can be done in the form of unit tests in test/unit/ or a new or altered demo in demo/.
  • I have added or edited necessary types and generated documentation (npm run docs), or no docs changes are needed.

Description

Omit on a union type ruins the type in recent versions of TypeScript.

Updated the docs script to add PanzoomOptionsWithoutForce.

Fixes: #679

@timmywil timmywil merged commit 8e773ae into main Mar 10, 2025
1 check passed
@timmywil timmywil deleted the 679 branch March 10, 2025 17:48
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.

Incorrect type definitions for Panzoom() and setOptions()

1 participant