fix(generator): can't infer generic type

This commit is contained in:
Aire-One 2023-01-21 21:03:28 +01:00
parent df379a4537
commit 37f0d6bac4
1 changed files with 1 additions and 1 deletions

View File

@ -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,