From 231e4e3b2be6f815c1d6734185537f777ef32d88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 1 Apr 2022 16:59:53 +0800 Subject: update --- script/parser/guide.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'script/parser/guide.lua') diff --git a/script/parser/guide.lua b/script/parser/guide.lua index f490b306..15f52585 100644 --- a/script/parser/guide.lua +++ b/script/parser/guide.lua @@ -1182,7 +1182,7 @@ function m.isOOP(source) return false end -local baseTypeMap = { +local basicTypeMap = { ['unknown'] = true, ['any'] = true, ['true'] = true, @@ -1199,8 +1199,8 @@ local baseTypeMap = { ---@param str string ---@return boolean -function m.isBaseType(str) - return baseTypeMap[str] == true +function m.isBasicType(str) + return basicTypeMap[str] == true end return m -- cgit v1.2.3