jsfmt.spec.js.snap 994 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`break.js 1`] = `
  3. export interface Environment1 extends GenericEnvironment<
  4. SomeType,
  5. AnotherType,
  6. YetAnotherType,
  7. > {
  8. m(): void;
  9. };
  10. export class Environment2 extends GenericEnvironment<
  11. SomeType,
  12. AnotherType,
  13. YetAnotherType,
  14. DifferentType1,
  15. DifferentType2,
  16. DifferentType3,
  17. DifferentType4,
  18. > {
  19. m() {};
  20. };
  21. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  22. export interface Environment1
  23. extends GenericEnvironment<SomeType, AnotherType, YetAnotherType> {
  24. m(): void;
  25. }
  26. export class Environment2 extends GenericEnvironment<
  27. SomeType,
  28. AnotherType,
  29. YetAnotherType,
  30. DifferentType1,
  31. DifferentType2,
  32. DifferentType3,
  33. DifferentType4
  34. > {
  35. m() {}
  36. }
  37. `;
  38. exports[`module.js 1`] = `
  39. declare module X {
  40. declare interface Y { x: number; }
  41. }
  42. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  43. declare module X {
  44. declare interface Y { x: number }
  45. }
  46. `;