@@ -240,6 +240,96 @@ interface I2 {
240240================================================================================
241241` ;
242242
243+ exports [` issue-19618.ts - { " quoteProps" :" as-needed" } format 1` ] = `
244+ ====================================options=====================================
245+ parsers: ["typescript"]
246+ quoteProps: "as-needed"
247+ printWidth: 80 (default) |
248+ =====================================input======================================
249+ interface Container {
250+ " new" (id : string ): number ;
251+ " method" (): void ;
252+ }
253+
254+ type ContainerType = {
255+ ' new' (id : string ): number ;
256+ ' method' (): void ;
257+ } ;
258+
259+ =====================================output=====================================
260+ interface Container {
261+ " new" (id : string ): number ;
262+ method (): void ;
263+ }
264+
265+ type ContainerType = {
266+ " new" (id : string ): number ;
267+ method (): void ;
268+ } ;
269+
270+ ================================================================================
271+ ` ;
272+
273+ exports [` issue-19618.ts - { " quoteProps" :" consistent" } format 1` ] = `
274+ ====================================options=====================================
275+ parsers: ["typescript"]
276+ quoteProps: "consistent"
277+ printWidth: 80 (default) |
278+ =====================================input======================================
279+ interface Container {
280+ " new" (id : string ): number ;
281+ " method" (): void ;
282+ }
283+
284+ type ContainerType = {
285+ ' new' (id : string ): number ;
286+ ' method' (): void ;
287+ } ;
288+
289+ =====================================output=====================================
290+ interface Container {
291+ " new" (id : string ): number ;
292+ " method" (): void ;
293+ }
294+
295+ type ContainerType = {
296+ " new" (id : string ): number ;
297+ " method" (): void ;
298+ } ;
299+
300+ ================================================================================
301+ ` ;
302+
303+ exports [` issue-19618.ts - { " quoteProps" :" preserve" } format 1` ] = `
304+ ====================================options=====================================
305+ parsers: ["typescript"]
306+ quoteProps: "preserve"
307+ printWidth: 80 (default) |
308+ =====================================input======================================
309+ interface Container {
310+ " new" (id : string ): number ;
311+ " method" (): void ;
312+ }
313+
314+ type ContainerType = {
315+ ' new' (id : string ): number ;
316+ ' method' (): void ;
317+ } ;
318+
319+ =====================================output=====================================
320+ interface Container {
321+ " new" (id : string ): number ;
322+ " method" (): void ;
323+ }
324+
325+ type ContainerType = {
326+ " new" (id : string ): number ;
327+ " method" (): void ;
328+ } ;
329+
330+ ================================================================================
331+ ` ;
332+
243333exports [` type-literal.ts - { " quoteProps" :" as-needed" } format 1` ] = `
244334====================================options=====================================
245335parsers: ["typescript"]
0 commit comments