Skip to content

Closes #51 : Added index.d.ts + documentation for javascript and typescript#59

Merged
piuccio merged 9 commits intopiuccio:masterfrom
iArmanKarimi:types
Feb 25, 2021
Merged

Closes #51 : Added index.d.ts + documentation for javascript and typescript#59
piuccio merged 9 commits intopiuccio:masterfrom
iArmanKarimi:types

Conversation

@iArmanKarimi
Copy link
Contributor

Closes #51 : Added index.d.ts + documentation for Javascript and Typescript

Better example in doc
hid callback_type type
Better example in doc
js example instead of ts
Provided typescript examples
also a getting-cow-names example was missing.
doc update
Copy link
Contributor

@lachieh lachieh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This all looks good to be, aside from a few the y and w being switched in some of the examples. I'm not the owner but I have confirmed that this file works as expected. I appreciate the updated readme with examples too.

@piuccio if you're good with the README.md changes, this is good from a TS perspective.

Comment on lines +135 to +136
* - #### `w` : youthful
* - #### `y` : wired
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* - #### `w` : youthful
* - #### `y` : wired
* - #### `w` : wired
* - #### `y` : youthful

Co-authored-by: Lachlan Heywood <lachieh@users.noreply.github.com>
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.

Can you consider writing type.d.ts

3 participants