fix(generator): can't infer generic type
This commit is contained in:
parent
34e6a65ebc
commit
8822970107
|
@ -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