48 lines
664 B
Plaintext
48 lines
664 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`html-with-ts-script.html 1`] = `
|
|
<!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">
|
|
|
|
|
|
<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>
|
|
`;
|