Skip to content

Commit

Permalink
refactor(persist-translations): 💡 type fix needed after update
Browse files Browse the repository at this point in the history
  • Loading branch information
shaharkazaz committed Dec 24, 2024
1 parent d4d7f88 commit 44c644d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export class TranslocoPersistTranslations
}

private decode<T>(key: string, item: any): T | null {
if (isObject(item)) {
if (isObject(item) as T) {
return item;
} else if (isString(item)) {
try {
Expand Down

0 comments on commit 44c644d

Please sign in to comment.