jsfmt.spec.js.snap 664 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`html-with-ts-script.html 1`] = `
  3. <!DOCTYPE html>
  4. <html lang="en">
  5. <head>
  6. <script lang="ts">
  7. type X = { [
  8. K in keyof Y
  9. ]: Partial < K > } ;
  10. class Foo< T >{
  11. constructor ( private foo: keyof Apple ){
  12. }
  13. }
  14. </script>
  15. </head>
  16. <body></body>
  17. </html>
  18. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  19. <!DOCTYPE html>
  20. <html lang="en">
  21. <head>
  22. <script lang="ts">
  23. type X = { [K in keyof Y]: Partial<K> };
  24. class Foo<T> {
  25. constructor(private foo: keyof Apple) {}
  26. }
  27. </script>
  28. </head>
  29. <body>
  30. </body>
  31. </html>
  32. `;