Skip to content

Adding custom translation constructors

Compare
Choose a tag to compare
@ChristophP ChristophP released this 14 Jan 20:26
· 21 commits to master since this release
fe7bdf7

This release adds the possibility for users to build their own translations without decoding JSON.

  • exposes functions to construct a Translations type
  • do some internal refactoring
  • make decoder fail if it is passed a string instead of an object