We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e2e4cc commit a68811dCopy full SHA for a68811d
test/unit/helpers/multi.spec.ts
@@ -80,6 +80,18 @@ test.each<[string, number[]]>([
80
.expectDiagnosticsToMatchSnapshot(diagnostics);
81
});
82
83
+test("function to spread multi type result from multi type function", () => {
84
+ util.testFunction`
85
+ ${multiFunction}
86
+ function m() {
87
+ return $multi(...multi(true));
88
+ }
89
+ return m();
90
+ `
91
+ .setOptions(multiProjectOptions)
92
+ .expectToEqual(true);
93
+});
94
+
95
test("$multi helper call with destructuring assignment side effects", () => {
96
util.testModule`
97
${multiFunction}
0 commit comments