diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/hover/init.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua index d9492fd1..79469b90 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -1601,3 +1601,15 @@ local t: Position { z?: number, } ]] + +TEST [[ +---@type { x: string, y: number, z: boolean } +local <?t?> +]] +[[ +local t: { + x: string, + y: number, + z: boolean, +} +]] |