@@ -208,6 +208,71 @@ export interface ShopQueryResult {
208
208
================================================================================
209
209
` ;
210
210
211
+ exports [` trailing-comma-for-empty-tuples.ts - { " trailingComma" :" all" } format 1` ] = `
212
+ ====================================options=====================================
213
+ parsers: ["typescript"]
214
+ printWidth: 80
215
+ trailingComma: "all"
216
+ | printWidth
217
+ =====================================input======================================
218
+ type Loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong = []
219
+
220
+ type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [] ? Foo3 : Foo4;
221
+ =====================================output=====================================
222
+ type Loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong =
223
+ [];
224
+
225
+ type Foo =
226
+ Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends []
227
+ ? Foo3
228
+ : Foo4;
229
+
230
+ ================================================================================
231
+ ` ;
232
+
233
+ exports [` trailing-comma-for-empty-tuples.ts - { " trailingComma" :" none" } format 1` ] = `
234
+ ====================================options=====================================
235
+ parsers: ["typescript"]
236
+ printWidth: 80
237
+ trailingComma: "none"
238
+ | printWidth
239
+ =====================================input======================================
240
+ type Loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong = []
241
+
242
+ type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [] ? Foo3 : Foo4;
243
+ =====================================output=====================================
244
+ type Loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong =
245
+ [];
246
+
247
+ type Foo =
248
+ Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends []
249
+ ? Foo3
250
+ : Foo4;
251
+
252
+ ================================================================================
253
+ ` ;
254
+
255
+ exports [` trailing-comma-for-empty-tuples.ts format 1` ] = `
256
+ ====================================options=====================================
257
+ parsers: ["typescript"]
258
+ printWidth: 80
259
+ | printWidth
260
+ =====================================input======================================
261
+ type Loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong = []
262
+
263
+ type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [] ? Foo3 : Foo4;
264
+ =====================================output=====================================
265
+ type Loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong =
266
+ [];
267
+
268
+ type Foo =
269
+ Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends []
270
+ ? Foo3
271
+ : Foo4;
272
+
273
+ ================================================================================
274
+ ` ;
275
+
211
276
exports [` tuple.ts - { " trailingComma" :" all" } format 1` ] = `
212
277
====================================options=====================================
213
278
parsers: ["typescript"]
0 commit comments