diff options
Diffstat (limited to 'test/hover')
-rw-r--r-- | test/hover/init.lua | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua index 974f87db..4ce2de8c 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -1668,7 +1668,7 @@ TEST [[ local <?t?> ]] [[ -local t: { +local t: { x: string, y: number, z: boolean } { x: string, y: number, z: boolean, @@ -2403,3 +2403,15 @@ TEST [[ [[ (field) A.x: number ]] + +TEST [[ +---@type { [string]: string }[] +local t + +print(<?t?>.foo) +]] +[[ +local t: { [string]: string }[] { + foo: unknown, +} +]] |