From 62ce187699080da31b44c78e46fb66e11c14dfdd Mon Sep 17 00:00:00 2001 From: Sabu Siyad Date: Thu, 29 Dec 2022 00:39:54 +0530 Subject: [PATCH] fix(generator): replace `"any"` -> `ANY_TYPE` Signed-off-by: Sabu Siyad --- lua/neogen/generator.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/neogen/generator.lua b/lua/neogen/generator.lua index 44dcfc0..848ba7f 100644 --- a/lua/neogen/generator.lua +++ b/lua/neogen/generator.lua @@ -247,7 +247,7 @@ return setmetatable({}, { notify("Language " .. filetype .. " not supported.", vim.log.levels.WARN) return 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 if not template or not template.annotation_convention then