Skip to content

Commit 86d7fbb

Browse files
committed
Add intersection test case
1 parent 8b31273 commit 86d7fbb

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
export type CoverageReporterWithOptions<K> =
22
Array<string | Object> --[[ [K, Partial<ReportOptions[K]>] ]]
33
| nil
4+
5+
export type CoverageReporterWithOptions<K> =
6+
Array<string | Object> --[[ [K, Partial<ReportOptions[K]>] ]]
7+
& nil

tests/snapshots/tests__luau@type-hanging-multiline-comment.lua.snap

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ export type CoverageReporterWithOptions<K> =
88
Array<string | Object> --[[ [K, Partial<ReportOptions[K]>] ]]
99
| nil
1010

11+
export type CoverageReporterWithOptions<K> =
12+
Array<string | Object> --[[ [K, Partial<ReportOptions[K]>] ]]
13+
& nil
14+

0 commit comments

Comments
 (0)