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

Type declarations for TypeScript #289

Merged
merged 7 commits into from Apr 8, 2020
Merged

Type declarations for TypeScript #289

merged 7 commits into from Apr 8, 2020

Conversation

aminya
Copy link
Member

@aminya aminya commented Apr 1, 2020

This adds types for tool-bar public API.

However, since this package is not an npm package, we should either push this to @types/atom
or make a separate @types/tool-bar.

I prefer the first option, ../index is referring to that file.

Either way, it is good to keep a copy of that file here.

See this in action here: https://github.com/aminya/juno-plus

@aminya
Copy link
Member Author

aminya commented Apr 1, 2020

If you agree with the content of the docstrings and the declarations itself, I will make a pull request to @types/atom.

@types/index.d.ts Outdated Show resolved Hide resolved
@aminya
Copy link
Member Author

aminya commented Apr 7, 2020

@suda Could you review this?

@suda suda merged commit 0b8a1ce into atom-community:master Apr 8, 2020
@suda
Copy link
Collaborator

suda commented Apr 8, 2020

Thanks Amin!

@aminya
Copy link
Member Author

aminya commented Apr 8, 2020

PR is created: DefinitelyTyped/DefinitelyTyped#43727

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.

None yet

3 participants