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

34 lines
738 B
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`comment.js 1`] = `
type Foo = {
method(
arg: number, // I belong with baz
qux: string
) : void
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
type Foo = {
method(
arg: number, // I belong with baz
qux: string
): void
};
`;
exports[`method.js 1`] = `
type T = { method: () => void };
type T = { method(): void };
declare class X { method(): void }
declare function f(): void;
var f: () => void;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
type T = { method: () => void };
type T = { method(): void };
declare class X { method(): void }
declare function f(): void;
var f: () => void;
`;