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: TypeScript annotations #309

Merged
merged 1 commit into from
Nov 12, 2023

Conversation

jlarmstrongiv
Copy link
Contributor

@jlarmstrongiv jlarmstrongiv commented Nov 11, 2023

@ashvardanian ashvardanian changed the base branch from main to main-dev November 12, 2023 09:38
@ashvardanian ashvardanian changed the title feat: add TypeScript types for usearch javascript Improve: TypeScript annotations Nov 12, 2023
@ashvardanian ashvardanian merged commit 6a5e009 into unum-cloud:main-dev Nov 12, 2023
ashvardanian pushed a commit that referenced this pull request Nov 13, 2023
## [2.8.12](v2.8.11...v2.8.12) (2023-11-13)

### Docs

* Typo in Java README (#307) ([494b9f0](494b9f0)), closes [#307](#307)
* Update Java's step-by-step build instructions (#306) ([63d8027](63d8027)), closes [#306](#306)

### Fix

* Dumping to uninitialized memory in Java ([9eaa10d](9eaa10d))
* Key type mismatch in Java ([25dc6fc](25dc6fc))
* Normalize bit-vector length for SimSIMD (#311) ([8a77b3e](8a77b3e)), closes [#311](#311)
* OOM error in Java ([2589979](2589979)), closes [#308](#308)

### Improve

* TypeScript annotations (#309) ([6a5e009](6a5e009)), closes [#309](#309)

### Make

* Trace used compiler ([7d17eab](7d17eab))
@ashvardanian
Copy link
Contributor

🎉 This PR is included in version 2.8.12 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@jlarmstrongiv
Copy link
Contributor Author

@ashvardanian I made a mistake in the typings—all of the dimensionsOrConfigs object properties are required, when only dimensions needs to be required. Do you know how to make them optional with JSDoc?

Other than that one quirk, the types work great 👍

@ashvardanian
Copy link
Contributor

@jlarmstrongiv, sadly not familiar with that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants