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
|
function snippets.render_requires(requires: Map<string, string>): string
|
||||||
local tmpl = [[local $(name) = require "$(path)"]]
|
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
|
for name, path in requires:iter() do
|
||||||
local tmpl_args = {
|
local tmpl_args = {
|
||||||
name = name,
|
name = name,
|
||||||
|
|
Loading…
Reference in New Issue