Skip to content

Dictionaries (tables with typed indices) are not supported #83

@j-hui

Description

@j-hui

e.g.,

Input:

-- In test.lua
---@alias T { [string]: boolean }
local M = {}
return M

Output:

MyType                                                                  *MyType*

    Type: ~
        


vim:tw=78:ts=8:noet:ft=help:norl:

This is mentioned in the Lua LS wiki here: https://github.com/LuaLS/lua-language-server/wiki/Annotations#documenting-types

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions