pull/10800/head
Simon Holthausen 2 years ago
parent 9ffad5d693
commit 5b78c24baf

@ -170,5 +170,5 @@ asLegacyComponent.anExport;
const x: typeof asLegacyComponent = createClassComponent({
target: null as any,
hydrate: true,
component: newComponent
component: NewComponent
});

@ -1,4 +1,4 @@
import { type Snippet, isSnippet } from 'svelte';
import { type Snippet } from 'svelte';
const return_type: ReturnType<Snippet> = null as any;
@ -38,8 +38,3 @@ const h: Snippet<[{ a: true }]> = (a) => {
const i: Snippet = () => {
return return_type;
};
let j = null as any;
if (isSnippet(j)) {
let x: Snippet = j;
}

Loading…
Cancel
Save