fix(generator): replace "any" -> ANY_TYPE

Signed-off-by: Sabu Siyad <hello@ssiyad.com>
This commit is contained in:
Sabu Siyad
2022-12-29 00:39:54 +05:30
parent 2c454f7e68
commit 62ce187699

View File

@@ -247,7 +247,7 @@ return setmetatable({}, {
notify("Language " .. filetype .. " not supported.", vim.log.levels.WARN) notify("Language " .. filetype .. " not supported.", vim.log.levels.WARN)
return return
end end
node_type = (type(node_type) ~= "string" or node_type == "") and "any" or node_type -- Default type node_type = (type(node_type) ~= "string" or node_type == "") and ANY_TYPE or node_type -- Default type
local template = language.template local template = language.template
if not template or not template.annotation_convention then if not template or not template.annotation_convention then