44 lines
660 B
Plaintext
44 lines
660 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>
|
|
`;
|