fix(generator): can't infer generic type

This commit is contained in:
Aire-One 2023-01-21 21:03:28 +01:00
parent 34e6a65ebc
commit 8822970107
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,