Skip to content

Commit 3d0dd45

Browse files
author
BirdeeHub
committed
refactor(lua_types): refactored type annotations file
1 parent 8f9edfe commit 3d0dd45

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lua/tomlua/meta.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---@meta
2-
error("Cannot import a meta module")
32

43
---@class Tomlua.DateTable
54
---@field toml_type TomlType|TomlTypeNum -- one of tomlua.types, e.g., OFFSET_DATETIME
@@ -70,5 +69,4 @@ error("Cannot import a meta module")
7069
---@alias Tomlua Tomlua.main | fun(opts?:TomluaOptions):Tomlua
7170

7271
---@type Tomlua
73-
local tomlua = require('tomlua')
74-
return tomlua
72+
return require('tomlua')

0 commit comments

Comments
 (0)