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

51 lines
1022 B
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`break.js - flow-verify 1`] = `
export interface Environment1 extends GenericEnvironment<
SomeType,
AnotherType,
YetAnotherType,
> {
m(): void;
};
export class Environment2 extends GenericEnvironment<
SomeType,
AnotherType,
YetAnotherType,
DifferentType1,
DifferentType2,
DifferentType3,
DifferentType4,
> {
m() {};
};
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
export interface Environment1
extends GenericEnvironment<SomeType, AnotherType, YetAnotherType> {
m(): void;
}
export class Environment2 extends GenericEnvironment<
SomeType,
AnotherType,
YetAnotherType,
DifferentType1,
DifferentType2,
DifferentType3,
DifferentType4
> {
m() {}
}
`;
exports[`module.js - flow-verify 1`] = `
declare module X {
declare interface Y { x: number; }
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
declare module X {
declare interface Y { x: number }
}
`;