Skip to content

Commit 6fccf34

Browse files
committed
Engines may return any AST which may return any value, closes #14770
1 parent 2474303 commit 6fccf34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/eex/lib/eex.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ defmodule EEx do
291291
"foo baz"
292292
293293
"""
294-
@spec eval_string(String.t(), keyword, [compile_opt]) :: String.t()
294+
@spec eval_string(String.t(), keyword, [compile_opt]) :: term()
295295
def eval_string(source, bindings \\ [], options \\ [])
296296
when is_binary(source) and is_list(bindings) and is_list(options) do
297297
compiled = compile_string(source, options)

0 commit comments

Comments
 (0)