html-with-ts-script.html 264 B

123456789101112131415161718192021
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <script lang="ts">
  5. type X = { [
  6. K in keyof Y
  7. ]: Partial < K > } ;
  8. class Foo< T >{
  9. constructor ( private foo: keyof Apple ){
  10. }
  11. }
  12. </script>
  13. </head>
  14. <body></body>
  15. </html>