Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
Xstoudi committed Feb 7, 2024
1 parent bfa3b0d commit bdf6981
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/translation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,8 @@ export default class Translation {
set(locale: string, value: string) {
this.values[locale] = value
}

toObject(): TranslationAttributes {
return this.values
}
}

0 comments on commit bdf6981

Please sign in to comment.