Skip to content

Commit

Permalink
fix package-lock
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucanis committed Sep 6, 2024
1 parent bb6fc91 commit 3d5233d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions assets/js/twig/custom-twig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ Twig.extendFunction('svg', (iconName: string): string => {
return IconTwig({ icon: iconName });
});

Twig.extend(function (Twig) {
Twig.filters.trans = function (value) {
Twig.extend(function (Twig: any) {
Twig.filters.trans = function (value: any) {
return value;
};

Twig.exports.functions.t = function (value) {
Twig.exports.functions.t = function (value: any) {
return value;
};

Twig.exports.functions.resources = function (value) {
Twig.exports.functions.resources = function (value: any) {
return value;
};
});
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3d5233d

Please sign in to comment.