Skip to content

Add TypeScript definitions#28

Open
claabs wants to merge 2 commits intorimmartin:v12from
claabs:v12
Open

Add TypeScript definitions#28
claabs wants to merge 2 commits intorimmartin:v12from
claabs:v12

Conversation

@claabs
Copy link
Copy Markdown

@claabs claabs commented Jan 3, 2020

I had added types for my own project, and thought I should just spin up a PR so it wouldn't get lost.

The types are based mostly on the docs. Some functions were in the tests, but missing from the docs, so they were added as well. I didn't do too much digging through the C code, so there may be more exposed functions missing from the types. I can at least confirm that all the functions tested are typed.

I added docs to the types based on the docs site when they added value.

@claabs
Copy link
Copy Markdown
Author

claabs commented Jan 3, 2020

There's some typos I've found, so not ready to merge yet.

@rimmartin
Copy link
Copy Markdown
Owner

Ah ok, when you are ready

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