Skip to content

fix typing of numbro.languages()#342

Merged
BenjaminVanRyseghem merged 2 commits into
BenjaminVanRyseghem:developfrom
milinnovations:develop
Mar 20, 2018
Merged

fix typing of numbro.languages()#342
BenjaminVanRyseghem merged 2 commits into
BenjaminVanRyseghem:developfrom
milinnovations:develop

Conversation

@ntamas
Copy link
Copy Markdown
Contributor

@ntamas ntamas commented Mar 20, 2018

numbro.languages() is typed incorrectly in the TypeScript typings; in Numbro 2.x, languages() returns an object that maps language tags to the corresponding NumbroLanguage objects, but the typing claims that the function returns an array of NumbroLanguage objects. This pull request fixes the issue.

@BenjaminVanRyseghem
Copy link
Copy Markdown
Owner

Thanks 👍

@BenjaminVanRyseghem
Copy link
Copy Markdown
Owner

can you add yourself in the AUTHORS file please 😄 ?

@ntamas
Copy link
Copy Markdown
Contributor Author

ntamas commented Mar 20, 2018

Thanks, I don't think I deserve that yet ;) Will do that later when I have a more significant contribution.

@BenjaminVanRyseghem
Copy link
Copy Markdown
Owner

you do deserve it! There is no such thing as a "too small fix" 😄

(plus, if you don't I will 😛 )

@ntamas
Copy link
Copy Markdown
Contributor Author

ntamas commented Mar 20, 2018

Here it is then -- thanks :)

@BenjaminVanRyseghem BenjaminVanRyseghem merged commit f008331 into BenjaminVanRyseghem:develop Mar 20, 2018
@BenjaminVanRyseghem
Copy link
Copy Markdown
Owner

Thanks to you 😄

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