2017-06-10 18:03:39 +03:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2018-09-22 16:53:38 +03:00
|
|
|
exports[`html-with-ts-script.html - html-verify 1`] = `
|
2017-06-10 18:03:39 +03:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<script lang="ts">
|
|
|
|
type X = { [
|
|
|
|
K in keyof Y
|
|
|
|
]: Partial < K > } ;
|
|
|
|
|
|
|
|
class Foo< T >{
|
|
|
|
|
|
|
|
constructor ( private foo: keyof Apple ){
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body></body>
|
|
|
|
</html>
|
|
|
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
2018-09-13 16:06:49 +03:00
|
|
|
<head>
|
|
|
|
<script lang="ts">
|
2018-10-13 08:55:38 +03:00
|
|
|
type X = { [K in keyof Y]: Partial<K> };
|
2017-06-25 03:54:09 +03:00
|
|
|
|
2018-10-13 08:55:38 +03:00
|
|
|
class Foo<T> {
|
|
|
|
constructor(private foo: keyof Apple) {}
|
|
|
|
}
|
2018-09-13 16:06:49 +03:00
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body></body>
|
2017-06-10 18:03:39 +03:00
|
|
|
</html>
|
2018-09-13 16:06:49 +03:00
|
|
|
|
2017-06-10 18:03:39 +03:00
|
|
|
`;
|