Skip to content

Add typescript declaration file#225

Merged
octalmage merged 1 commit into
octalmage:masterfrom
tristanlievens:master
Sep 14, 2016
Merged

Add typescript declaration file#225
octalmage merged 1 commit into
octalmage:masterfrom
tristanlievens:master

Conversation

@tristanlievens

@tristanlievens tristanlievens commented Aug 13, 2016

Copy link
Copy Markdown
Contributor

For #224.
I'm not a pro typescripter myself, but this is the custom declaration file I use in my projects.

One thing though: I used any as the image type of a Bitmap, instead of Buffer, as you'd have to pull in the node type definitions to have access to Buffer which seems a bit overkill.

@octalmage

Copy link
Copy Markdown
Owner

Awesome! One note, keyTap and keyToggle both also support an array of modifiers. Should this be represented?

@tristanlievens

Copy link
Copy Markdown
Contributor Author

Yes, absolutely. This should fix that. Doing great work with the project btw 😄

@octalmage octalmage merged commit 9030111 into octalmage:master Sep 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants