TypeScript improvements: Use enum type for style of NumberFormatOptions, only allow passing React children to messages rendered with t.rich and update tslib (#63) (d73e935)
feat!: Use a separate API for rich text formatting to avoid type casting in TypeScript #54 (4c13a64), closes #54
BREAKING CHANGES
Instead of using the t function for formatting both regular messages and rich text, this function will only work for regular messages now. For rich text you can use t.rich instead now.