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

Fix TypeScript type definition #28

Merged
merged 1 commit into from
Mar 27, 2020

Conversation

cprecioso
Copy link
Contributor

TypeScript is giving errors when using bitbar.separator, as there's some
error when refering to unique symbols as properties of a const,
instead of exported variables of a namespace.

The rest of the changes are made to accomodate the typechecker merging a
function definition with a namespace which exports values (not only
types, as before).

TypeScript is giving errors when using bitbar.separator, as there's some
error when refering to `unique symbol`s as properties of a `const`,
instead of exported variables of a `namespace`.

The rest of the changes are made to accomodate the typechecker merging a
function definition with a namespace which exports values (not only
types, as before).
@sindresorhus sindresorhus changed the title Fix type definition Fix TypeScript type definition Mar 27, 2020
@sindresorhus sindresorhus merged commit d46a661 into sindresorhus:master Mar 27, 2020
@cprecioso cprecioso deleted the fix-separator branch March 27, 2020 14:25
@cprecioso
Copy link
Contributor Author

Hey, would it be alright to publish a release with this fix? Thanks!

@sindresorhus
Copy link
Owner

Yeah, sorry. I was offline for multiple days.

@sindresorhus
Copy link
Owner

Done

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