prettier/tests/flow_internal_slot/__snapshots__/jsfmt.spec.js.snap

36 lines
971 B
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`internal_slot.js 1`] = `
====================================options=====================================
parsers: ["flow", "babel"]
printWidth: 80
| printWidth
=====================================input======================================
declare class C1 { static [[foo]]: T }
declare class C2 { [[foo]]: T }
interface T1 { [[foo]]: X }
interface T2 { [[foo]](): X }
type T3 = { [[foo]]: X }
type T4 = { [[foo]](): X }
type T5 = { [[foo]]?: X }
=====================================output=====================================
declare class C1 {
static [[foo]]: T;
}
declare class C2 {
[[foo]]: T;
}
interface T1 {
[[foo]]: X;
}
interface T2 {
[[foo]](): X;
}
type T3 = { [[foo]]: X };
type T4 = { [[foo]](): X };
type T5 = { [[foo]]?: X };
================================================================================
`;