fix(generator): can't infer generic type
This commit is contained in:
parent
df379a4537
commit
37f0d6bac4
|
@ -30,7 +30,7 @@ end
|
|||
function snippets.render_requires(requires: Map<string, string>): string
|
||||
local tmpl = [[local $(name) = require "$(path)"]]
|
||||
|
||||
local require_statements <const> = List()
|
||||
local require_statements <const>: List<string> = List()
|
||||
for name, path in requires:iter() do
|
||||
local tmpl_args = {
|
||||
name = name,
|
||||
|
|
Loading…
Reference in New Issue