aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/js/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/js/init.go')
-rw-r--r--tpl/js/init.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/js/init.go b/tpl/js/init.go
index 4ab8671cc..d57e0fdcb 100644
--- a/tpl/js/init.go
+++ b/tpl/js/init.go
@@ -26,7 +26,7 @@ func init() {
ns := &internal.TemplateFuncsNamespace{
Name: name,
- Context: func(args ...interface{}) (interface{}, error) { return ctx, nil },
+ Context: func(args ...any) (any, error) { return ctx, nil },
}
return ns